##// END OF EJS Templates
Add basic auto tests for pie
Add basic auto tests for pie

File last commit:

r1037:9c00874184ef
r1105:fc38b75b444a
Show More
gdpbarchart.pro
20 lines | 582 B | text/idl | PrologLexer
!include( ../test.pri ) {
error( "Couldn't find the test.pri file!" )
}
QT+= sql
TARGET = gdpbarchart
SOURCES += main.cpp\
widget.cpp
HEADERS += widget.h
!mac {
FILE = $$PWD/gdpData
win32:{FILE = $$replace(FILE, "/","\\")}
DESTINATION = $$CHART_BUILD_BIN_DIR/test
win32:{DESTINATION = $$replace(DESTINATION, "/","\\")}
# TODO: QMAKE_POST_LINK does not work on mac; how to copy the data file?
QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_BIN_DIR
}
!system_build:mac: QMAKE_POST_LINK += "$$MAC_POST_LINK_PREFIX $$MAC_TESTS_BIN_DIR"