2
# This file is included by all of the examples' *.pro files.
4
# Note: KDCHART_PATH is set in the calling .pro file,
5
# before examples.pri is included
9
# 1. Work around a qmake bug:
11
# The bug would produce invalid *.exe files when KD Chart is linked
12
# statically and examples are build right after building the lib.
15
DEFINES += KDCHART_STATICLIB
19
# 2. Use the filename "kdchartd.dll" (or "kdchartd.lib") on Windows
20
# to avoid name clashes between debug/non-debug versions of the
23
CONFIG(debug, debug|release) {
24
!unix: KDCHARTLIB = "kdchartd"
28
# 3. Adjust the paths and LIBS according to KDCHART_PATH.
29
# Note: KDCHART_PATH is set in the calling .pro file,
30
# before examples.pri is included
32
$$KDCHART_PATH/include \
33
$$KDCHART_PATH/examples/tools
35
$$KDCHART_PATH/include \
36
$$KDCHART_PATH/examples/tools
37
LIBS += -L$$KDCHART_PATH/lib -l$$KDCHARTLIB -ltesttools
40
# 4. Miscellaneous settings: