@@ -29,6 +29,10 CHART_BUILD_BIN_DIR = $$SHADOW/bin | |||
|
29 | 29 | CHART_BUILD_PLUGIN_DIR = $$CHART_BUILD_BIN_DIR/QtCommercial/Chart |
|
30 | 30 | CHART_BUILD_DOC_DIR = $$SHADOW/doc |
|
31 | 31 | |
|
32 | # Use own folders for debug and release builds | |
|
33 | CONFIG(debug, debug|release):CHART_BUILD_DIR = $$join(CHART_BUILD_DIR,,,/debug) | |
|
34 | CONFIG(release, debug|release): CHART_BUILD_DIR = $$join(CHART_BUILD_DIR,,,/release) | |
|
35 | ||
|
32 | 36 | win32:{ |
|
33 | 37 | CHART_BUILD_PUBLIC_HEADER_DIR = $$replace(CHART_BUILD_PUBLIC_HEADER_DIR, "/","\\") |
|
34 | 38 | CHART_BUILD_PRIVATE_HEADER_DIR = $$replace(CHART_BUILD_PRIVATE_HEADER_DIR, "/","\\") |
@@ -10,6 +10,17 contains(QT_MAJOR_VERSION, 5) { | |||
|
10 | 10 | DEFINES += QTQUICK2 |
|
11 | 11 | } |
|
12 | 12 | |
|
13 | CONFIG(debug, debug|release) { | |
|
14 | mac: TARGET = $$join(TARGET,,,_debug) | |
|
15 | win32: TARGET = $$join(TARGET,,,d) | |
|
16 | } | |
|
17 | ||
|
18 | # enable building debug and release at the same time | |
|
19 | CONFIG += debug_and_release | |
|
20 | ||
|
21 | # On windows by default build both debug and release at the same time | |
|
22 | win32:CONFIG += build_all | |
|
23 | ||
|
13 | 24 | SOURCES += \ |
|
14 | 25 | plugin.cpp \ |
|
15 | 26 | declarativechart.cpp \ |
@@ -19,6 +19,12 unix:{ | |||
|
19 | 19 | QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden |
|
20 | 20 | } |
|
21 | 21 | |
|
22 | # enable building debug and release at the same time | |
|
23 | CONFIG += debug_and_release | |
|
24 | ||
|
25 | # On windows by default build both debug and release at the same time | |
|
26 | win32:CONFIG += build_all | |
|
27 | ||
|
22 | 28 | ############################# DEPEDENCES ######################################## |
|
23 | 29 | |
|
24 | 30 | win32-msvc*: LIBS += User32.lib |
General Comments 0
You need to be logged in to leave comments.
Login now