@@ -1,13 +1,17 | |||
|
1 | 1 | !include( ../plugins.pri ) { |
|
2 | 2 | error( "Couldn't find the plugins.pri file!" ) |
|
3 | 3 | } |
|
4 | 4 | |
|
5 | 5 | TARGET=qtcommercialchartdesigner |
|
6 | 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 | 12 | HEADERS = qchartsplugin.h |
|
9 | 13 | SOURCES = qchartsplugin.cpp |
|
10 | 14 | RESOURCES = qchartsplugin.qrc |
|
11 | 15 | |
|
12 | 16 | target.path = $$[QT_INSTALL_PLUGINS]/designer |
|
13 | INSTALLS += target No newline at end of file | |
|
17 | INSTALLS += target |
@@ -1,14 +1,18 | |||
|
1 | 1 | !include( ../tests.pri ) { |
|
2 | 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 | 10 | !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") |
|
7 | 11 | |
|
8 | 12 | INCLUDEPATH += ../inc |
|
9 | 13 | HEADERS += ../inc/tst_definitions.h |
|
10 | 14 | |
|
11 | 15 | OBJECTS_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET |
|
12 | 16 | MOC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET |
|
13 | 17 | UI_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET |
|
14 | 18 | RCC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET |
General Comments 0
You need to be logged in to leave comments.
Login now