gdpbarchart.pro
20 lines
| 583 B
| text/idl
|
PrologLexer
Michal Klocek
|
r1200 | !include( ../tests.pri ) { | ||
Marek Rosa
|
r940 | error( "Couldn't find the test.pri file!" ) | ||
} | ||||
Marek Rosa
|
r205 | |||
Michal Klocek
|
r252 | QT+= sql | ||
Marek Rosa
|
r205 | TARGET = gdpbarchart | ||
SOURCES += main.cpp\ | ||||
widget.cpp | ||||
HEADERS += widget.h | ||||
Tero Ahola
|
r559 | |||
!mac { | ||||
Marek Rosa
|
r941 | FILE = $$PWD/gdpData | ||
Michal Klocek
|
r712 | win32:{FILE = $$replace(FILE, "/","\\")} | ||
Marek Rosa
|
r941 | DESTINATION = $$CHART_BUILD_BIN_DIR/test | ||
win32:{DESTINATION = $$replace(DESTINATION, "/","\\")} | ||||
Tero Ahola
|
r559 | # TODO: QMAKE_POST_LINK does not work on mac; how to copy the data file? | ||
Michal Klocek
|
r712 | QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_BIN_DIR | ||
Tero Ahola
|
r559 | } | ||
Tero Ahola
|
r1035 | |||
Michal Klocek
|
r1037 | !system_build:mac: QMAKE_POST_LINK += "$$MAC_POST_LINK_PREFIX $$MAC_TESTS_BIN_DIR" | ||