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