@@ -4,10 +4,14 | |||||
4 |
|
4 | |||
5 | TARGET=qtcommercialchartdesigner |
|
5 | TARGET=qtcommercialchartdesigner | |
6 | DESTDIR = $$CHART_BUILD_DESIGNER_PLUGIN_DIR |
|
6 | DESTDIR = $$CHART_BUILD_DESIGNER_PLUGIN_DIR | |
7 | CONFIG += designer |
|
7 | greaterThan(QT_MAJOR_VERSION, 4) { | |
|
8 | QT += designer | |||
|
9 | } else { | |||
|
10 | CONFIG += designer | |||
|
11 | } | |||
8 | HEADERS = qchartsplugin.h |
|
12 | HEADERS = qchartsplugin.h | |
9 | SOURCES = qchartsplugin.cpp |
|
13 | SOURCES = qchartsplugin.cpp | |
10 | RESOURCES = qchartsplugin.qrc |
|
14 | RESOURCES = qchartsplugin.qrc | |
11 |
|
15 | |||
12 | target.path = $$[QT_INSTALL_PLUGINS]/designer |
|
16 | target.path = $$[QT_INSTALL_PLUGINS]/designer | |
13 | INSTALLS += target No newline at end of file |
|
17 | INSTALLS += target |
@@ -2,7 +2,11 | |||||
2 | error( "Couldn't find the tests.pri file!" ) |
|
2 | error( "Couldn't find the tests.pri file!" ) | |
3 | } |
|
3 | } | |
4 |
|
4 | |||
5 | CONFIG += qtestlib |
|
5 | greaterThan(QT_MAJOR_VERSION, 4) { | |
|
6 | QT += testlib | |||
|
7 | } else { | |||
|
8 | CONFIG += qtestlib | |||
|
9 | } | |||
6 | !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") |
|
10 | !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") | |
7 |
|
11 | |||
8 | INCLUDEPATH += ../inc |
|
12 | INCLUDEPATH += ../inc |
General Comments 0
You need to be logged in to leave comments.
Login now