summaryrefslogtreecommitdiff
path: root/src/plugins/designer/designer.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/designer/designer.pro')
-rw-r--r--src/plugins/designer/designer.pro57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/plugins/designer/designer.pro b/src/plugins/designer/designer.pro
new file mode 100644
index 0000000000..a039bf2991
--- /dev/null
+++ b/src/plugins/designer/designer.pro
@@ -0,0 +1,57 @@
+TEMPLATE = lib
+TARGET = Designer
+
+include(../../qworkbenchplugin.pri)
+include(../../../shared/designerintegrationv2/designerintegration.pri)
+include(cpp/cpp.pri)
+include(designer_dependencies.pri)
+
+# -- check the Qt version
+TOO_OLD_LIST=$$find(QT_VERSION, ^4\.[0-4])
+count(TOO_OLD_LIST, 1) {
+ error("Cannot build the designer plugin with a Qt version that old:" $$QT_VERSION)
+}
+# -- figure out shared dir location
+!exists($$[QT_INSTALL_HEADERS]/QtDesigner/private/qdesigner_integration_p.h) {
+ QT_SOURCE_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)
+ INCLUDEPATH += $$QT_SOURCE_TREE/include
+}
+
+INCLUDEPATH += $$QMAKE_INCDIR_QT/QtDesigner \
+ ../../tools/utils
+
+qtAddLibrary(QtDesigner)
+qtAddLibrary(QtDesignerComponents)
+
+QT+=xml
+
+HEADERS += formeditorplugin.h \
+ formeditorfactory.h \
+ formwindoweditor.h \
+ formwindowfile.h \
+ formwindowhost.h \
+ formwizard.h \
+ workbenchintegration.h \
+ designerconstants.h \
+ settingspage.h \
+ editorwidget.h \
+ formeditorw.h \
+ settingsmanager.h \
+ formtemplatewizardpage.h \
+ formwizarddialog.h
+
+SOURCES += formeditorplugin.cpp \
+ formeditorfactory.cpp \
+ formwindoweditor.cpp \
+ formwindowfile.cpp \
+ formwindowhost.cpp \
+ formwizard.cpp \
+ workbenchintegration.cpp \
+ settingspage.cpp \
+ editorwidget.cpp \
+ formeditorw.cpp \
+ settingsmanager.cpp \
+ formtemplatewizardpage.cpp \
+ formwizarddialog.cpp
+
+RESOURCES += designer.qrc