@@ -62,6 +62,11 RCC_DIR = $$CHART_BUILD_DIR/lib | |||||
62 | DEFINES += QTCOMMERCIALCHART_LIBRARY |
|
62 | DEFINES += QTCOMMERCIALCHART_LIBRARY | |
63 |
|
63 | |||
64 | #qt public headers |
|
64 | #qt public headers | |
|
65 | !exists($$CHART_BUILD_PUBLIC_HEADER_DIR) | |||
|
66 | { | |||
|
67 | system($$QMAKE_MKDIR $$CHART_BUILD_PUBLIC_HEADER_DIR) | |||
|
68 | } | |||
|
69 | ||||
65 | for(file, PUBLIC_HEADERS) { |
|
70 | for(file, PUBLIC_HEADERS) { | |
66 | name = $$split(file,'/') |
|
71 | name = $$split(file,'/') | |
67 | name = $$last(name) |
|
72 | name = $$last(name) | |
@@ -75,7 +80,7 for(file, PUBLIC_HEADERS) { | |||||
75 | class = $$member(class,0) |
|
80 | class = $$member(class,0) | |
76 | command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" |
|
81 | command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" | |
77 | PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class |
|
82 | PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class | |
78 |
|
|
83 | system($$command) | |
79 | } |
|
84 | } | |
80 | } |
|
85 | } | |
81 |
|
86 |
General Comments 0
You need to be logged in to leave comments.
Login now