summaryrefslogtreecommitdiffstats
path: root/plugins/designer/designer.pro
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/designer/designer.pro')
-rw-r--r--plugins/designer/designer.pro28
1 files changed, 15 insertions, 13 deletions
diff --git a/plugins/designer/designer.pro b/plugins/designer/designer.pro
index 14677945..4e9f0f47 100644
--- a/plugins/designer/designer.pro
+++ b/plugins/designer/designer.pro
@@ -1,17 +1,19 @@
-!include( ../plugins.pri ) {
- error( "Couldn't find the plugins.pri file!" )
-}
+CONFIG += plugin
-TARGET=qtcommercialchartdesigner
-DESTDIR = $$CHART_BUILD_DESIGNER_PLUGIN_DIR
-greaterThan(QT_MAJOR_VERSION, 4) {
- QT += designer
-} else {
- CONFIG += designer
-}
-HEADERS = qchartsplugin.h
-SOURCES = qchartsplugin.cpp
-RESOURCES = qchartsplugin.qrc
+TEMPLATE = lib
+
+TARGET = qtchartsdesigner
+
+QT += charts
+QT += designer
+
+INCLUDEPATH += $$PWD
+DEPENDPATH += $$PWD
+INCLUDEPATH += ../../../include
+
+HEADERS = $$PWD/qchartsplugin.h
+SOURCES = $$PWD/qchartsplugin.cpp
+RESOURCES = $$PWD/qchartsplugin.qrc
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target