##// END OF EJS Templates
pie: fix bug with qmlchart demo...
pie: fix bug with qmlchart demo There was 2 PieChartItem instances for same slice because of problems with initial creation of the pie.

File last commit:

r1200:49edf2d3495f
r1238:8de78239061c
Show More
gdpbarchart.pro
20 lines | 583 B | text/idl | PrologLexer
!include( ../tests.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"