##// END OF EJS Templates
Fix cop path issue for gdbexample
Michal Klocek -
r712:0837d0a1b161
parent child
Show More
@@ -1,17 +1,16
1 1 !include( ../examples.pri ) {
2 2 error( "Couldn't find the examples.pri file!" )
3 3 }
4 4
5 5 QT+= sql
6 6 TARGET = gdpbarchart
7 7 SOURCES += main.cpp\
8 8 widget.cpp
9 9 HEADERS += widget.h
10 10
11 11 !mac {
12 DIR = $$PWD
13
14 win32:{DIR = $$replace(DIR, "/","\\")}
12 FILE = $$PWD/gdpData
13 win32:{FILE = $$replace(FILE, "/","\\")}
15 14 # TODO: QMAKE_POST_LINK does not work on mac; how to copy the data file?
16 QMAKE_POST_LINK += $$QMAKE_COPY $$DIR/gdpData $$CHART_BUILD_BIN_DIR
15 QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_BIN_DIR
17 16 }
General Comments 0
You need to be logged in to leave comments. Login now