1 | TEMPLATE = lib
|
---|
2 | TARGET = QtDesignerComponents
|
---|
3 | os2:TARGET_SHORT = QtDsgC
|
---|
4 | contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
---|
5 | CONFIG += qt depend_prl no_objective_c designer
|
---|
6 | win32|mac: CONFIG += debug_and_release
|
---|
7 | QTDIR_build {
|
---|
8 | DESTDIR = $$QT_BUILD_TREE/lib
|
---|
9 | !wince*:DLLDESTDIR = $$QT_BUILD_TREE/bin
|
---|
10 | }
|
---|
11 |
|
---|
12 | # QtDesignerComponents uses
|
---|
13 | DEFINES += QT_STATICPLUGIN
|
---|
14 |
|
---|
15 | include(../../../../../src/qt_targets.pri)
|
---|
16 | QMAKE_TARGET_PRODUCT = Designer
|
---|
17 | QMAKE_TARGET_DESCRIPTION = Graphical user interface designer.
|
---|
18 |
|
---|
19 | #load up the headers info
|
---|
20 | CONFIG += qt_install_headers
|
---|
21 | HEADERS_PRI = $$QT_BUILD_TREE/include/QtDesigner/headers.pri
|
---|
22 | include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
|
---|
23 |
|
---|
24 | #mac frameworks
|
---|
25 | mac:!static:contains(QT_CONFIG, qt_framework) {
|
---|
26 | QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
|
---|
27 | CONFIG += lib_bundle qt_no_framework_direct_includes qt_framework
|
---|
28 | CONFIG(debug, debug|release):!build_pass:CONFIG += build_all
|
---|
29 | }
|
---|
30 |
|
---|
31 | SOURCES += qdesigner_components.cpp
|
---|
32 |
|
---|
33 | !contains(CONFIG, static) {
|
---|
34 | DEFINES += QDESIGNER_COMPONENTS_LIBRARY
|
---|
35 | CONFIG += dll
|
---|
36 | LIBS += -lQtDesigner
|
---|
37 | } else {
|
---|
38 | DEFINES += QT_DESIGNER_STATIC
|
---|
39 | }
|
---|
40 |
|
---|
41 | INCLUDEPATH += . .. \
|
---|
42 | $$QT_SOURCE_TREE/tools/designer/src/lib/components \
|
---|
43 | $$QT_SOURCE_TREE/tools/designer/src/lib/sdk \
|
---|
44 | $$QT_SOURCE_TREE/tools/designer/src/lib/extension \
|
---|
45 | $$QT_SOURCE_TREE/tools/designer/src/lib/uilib \
|
---|
46 | $$QT_SOURCE_TREE/tools/designer/src/lib/shared
|
---|
47 |
|
---|
48 | include(../propertyeditor/propertyeditor.pri)
|
---|
49 | include(../objectinspector/objectinspector.pri)
|
---|
50 | include(../signalsloteditor/signalsloteditor.pri)
|
---|
51 | include(../formeditor/formeditor.pri)
|
---|
52 | include(../widgetbox/widgetbox.pri)
|
---|
53 | include(../buddyeditor/buddyeditor.pri)
|
---|
54 | include(../taskmenu/taskmenu.pri)
|
---|
55 | include(../tabordereditor/tabordereditor.pri)
|
---|
56 |
|
---|
57 | PRECOMPILED_HEADER= lib_pch.h
|
---|
58 |
|
---|
59 | include(../../sharedcomponents.pri)
|
---|
60 | include(../component.pri)
|
---|
61 |
|
---|
62 | unix {
|
---|
63 | QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtXml
|
---|
64 | contains(QT_CONFIG, script): QMAKE_PKGCONFIG_REQUIRES += QtScript
|
---|
65 | }
|
---|
66 |
|
---|
67 | target.path=$$[QT_INSTALL_LIBS]
|
---|
68 | INSTALLS += target
|
---|
69 | win32|os2 {
|
---|
70 | dlltarget.path=$$[QT_INSTALL_BINS]
|
---|
71 | INSTALLS += dlltarget
|
---|
72 | }
|
---|