##// END OF EJS Templates
Different file name for widget in debug build
Jani Honkonen -
r2:87da903027e1
parent child
Show More
@@ -1,5 +1,9
1 1 INCLUDEPATH += $$[QT_INSTALL_HEADERS]/Charts
2 2
3 3 contains(CHARTS, widget) {
4 CONFIG(debug, debug|release) {
5 LIBS += -lChartWidgetd
6 } else {
4 7 LIBS += -lChartWidget
8 }
5 9 }
@@ -1,25 +1,29
1 1 TARGET = ChartWidget
2 2 TEMPLATE = lib
3 3
4 4 QT += core gui
5 5 contains(QT_MAJOR_VERSION, 5) {
6 6 QT += widgets
7 7 }
8 CONFIG += debug_and_release
9 CONFIG(debug, debug|release) {
10 TARGET = ChartWidgetd
11 }
8 12
9 13 SOURCES += \
10 14 chartwidget.cpp
11 15 HEADERS += \
12 16 chartwidget.h
13 17 include(../src/chart.pri)
14 18
15 19 OBJECTS_DIR = tmp
16 20 MOC_DIR = tmp
17 21
18 22 DEFINES += CHARTWIDGET_LIBRARY
19 23
20 24 public_headers.path = $$[QT_INSTALL_HEADERS]/Charts
21 25 public_headers.files = chartwidget.h
22 26
23 27 target.path=$$[QT_INSTALL_LIBS]
24 28
25 29 INSTALLS += target public_headers
General Comments 0
You need to be logged in to leave comments. Login now