From f2037bb36754ffb74c8e167c943b9651ae92c51a 2012-03-14 16:40:27 From: Michal Klocek Date: 2012-03-14 16:40:27 Subject: [PATCH] Fix missig include dir form src.pro --- diff --git a/src/src.pro b/src/src.pro index cf309b0..728f532 100644 --- a/src/src.pro +++ b/src/src.pro @@ -62,6 +62,11 @@ RCC_DIR = $$CHART_BUILD_DIR/lib DEFINES += QTCOMMERCIALCHART_LIBRARY #qt public headers +!exists($$CHART_BUILD_PUBLIC_HEADER_DIR) +{ + system($$QMAKE_MKDIR $$CHART_BUILD_PUBLIC_HEADER_DIR) +} + for(file, PUBLIC_HEADERS) { name = $$split(file,'/') name = $$last(name) @@ -75,7 +80,7 @@ for(file, PUBLIC_HEADERS) { class = $$member(class,0) command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class - NOWARRNIGNS = system($$command) + system($$command) } }