0
|
1 |
TEMPLATE = lib
|
|
2 |
TARGET = $$qtLibraryTarget(QtUiTools)
|
|
3 |
QT += xml
|
|
4 |
CONFIG += qt staticlib
|
|
5 |
DESTDIR = ../../../../lib
|
|
6 |
DLLDESTDIR = ../../../../bin
|
|
7 |
|
|
8 |
symbian {
|
|
9 |
TARGET.UID3 = 0x2001E628
|
|
10 |
load(armcc_warnings)
|
|
11 |
}
|
|
12 |
|
|
13 |
win32|mac:!macx-xcode:CONFIG += debug_and_release build_all
|
|
14 |
|
|
15 |
DEFINES += QFORMINTERNAL_NAMESPACE QT_DESIGNER_STATIC QT_FORMBUILDER_NO_SCRIPT
|
|
16 |
isEmpty(QT_MAJOR_VERSION) {
|
|
17 |
VERSION=4.3.0
|
|
18 |
} else {
|
|
19 |
VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
|
|
20 |
}
|
|
21 |
include(../../../../src/qt_targets.pri)
|
|
22 |
QMAKE_TARGET_PRODUCT = UiLoader
|
|
23 |
QMAKE_TARGET_DESCRIPTION = QUiLoader
|
|
24 |
|
|
25 |
include(../lib/uilib/uilib.pri)
|
|
26 |
|
|
27 |
HEADERS += quiloader.h
|
|
28 |
SOURCES += quiloader.cpp
|
|
29 |
|
|
30 |
include($$QT_BUILD_TREE/include/QtUiTools/headers.pri, "", true)
|
|
31 |
quitools_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
|
|
32 |
quitools_headers.path = $$[QT_INSTALL_HEADERS]/QtUiTools
|
|
33 |
INSTALLS += quitools_headers
|
|
34 |
|
|
35 |
target.path=$$[QT_INSTALL_LIBS]
|
|
36 |
INSTALLS += target
|
|
37 |
|
|
38 |
unix {
|
|
39 |
CONFIG += create_pc
|
|
40 |
QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
|
|
41 |
QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
|
|
42 |
QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
|
|
43 |
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
|
44 |
QMAKE_PKGCONFIG_REQUIRES += QtXml
|
|
45 |
}
|