source: trunk/tools/designer/src/lib/lib.pro@ 561

Last change on this file since 561 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

File size: 1.9 KB
Line 
1TEMPLATE=lib
2TARGET=QtDesigner
3os2:TARGET_SHORT=QtDsgn
4QT += xml
5contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
6CONFIG += qt
7win32|mac: CONFIG += debug_and_release
8DESTDIR = ../../../../lib
9!wince*:DLLDESTDIR = ../../../../bin
10
11unix:QMAKE_PKGCONFIG_REQUIRES += QtXml
12
13include(../../../../src/qt_targets.pri)
14QMAKE_TARGET_PRODUCT = Designer
15QMAKE_TARGET_DESCRIPTION = Graphical user interface designer.
16
17!contains(CONFIG, static) {
18 CONFIG += dll
19
20 DEFINES += \
21 QDESIGNER_SDK_LIBRARY \
22 QDESIGNER_EXTENSION_LIBRARY \
23 QDESIGNER_UILIB_LIBRARY \
24 QDESIGNER_SHARED_LIBRARY
25} else {
26 DEFINES += QT_DESIGNER_STATIC
27}
28
29#load up the headers info
30CONFIG += qt_install_headers
31HEADERS_PRI = $$QT_BUILD_TREE/include/QtDesigner/headers.pri
32include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
33
34#mac frameworks
35mac:CONFIG += explicitlib
36mac:!static:contains(QT_CONFIG, qt_framework) {
37 QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
38 CONFIG += lib_bundle qt_no_framework_direct_includes qt_framework
39 CONFIG(debug, debug|release) {
40 !build_pass:CONFIG += build_all
41 } else { #release
42 !debug_and_release|build_pass {
43 CONFIG -= qt_install_headers #no need to install these as well
44 FRAMEWORK_HEADERS.version = Versions
45 FRAMEWORK_HEADERS.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
46 FRAMEWORK_HEADERS.path = Headers
47 }
48 QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
49 }
50}
51
52include(extension/extension.pri)
53include(sdk/sdk.pri)
54include(uilib/uilib.pri)
55include(shared/shared.pri)
56PRECOMPILED_HEADER=lib_pch.h
57
58include(../sharedcomponents.pri)
59include(../components/component.pri)
60
61target.path=$$[QT_INSTALL_LIBS]
62INSTALLS += target
63win32|os2 {
64 dlltarget.path=$$[QT_INSTALL_BINS]
65 INSTALLS += dlltarget
66}
67
68
69qt_install_headers {
70 designer_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
71 designer_headers.path = $$[QT_INSTALL_HEADERS]/QtDesigner
72 INSTALLS += designer_headers
73}
Note: See TracBrowser for help on using the repository browser.