From 110f905bcf3562faabbedefe6d90b3bb5048e521 2012-03-16 14:31:55 From: Michal Klocek Date: 2012-03-16 14:31:55 Subject: [PATCH] Adds win32 command condition to src.pro --- diff --git a/src/src.pro b/src/src.pro index a60f4c6..af0b33a 100644 --- a/src/src.pro +++ b/src/src.pro @@ -80,7 +80,11 @@ for(file, PUBLIC_HEADERS) { class = $$split(class,' ') class = $$replace(class,' ','') class = $$member(class,0) - command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" + win32:{ + command = "echo $${LITERAL_HASH}include \"$$name\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" + }else{ + command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class" + } PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class system($$command) }