0
|
1 |
contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
|
|
2 |
|
|
3 |
for(QTSHAREDLIB, $$list($$unique(LIBS))) {
|
|
4 |
QT_SHARED_LIB_NAME =
|
|
5 |
isEqual(QTSHAREDLIB, -lformeditor):QT_SHARED_LIB_NAME = formeditor
|
|
6 |
else:isEqual(QTSHAREDLIB, -lobjectinspector):QT_SHARED_LIB_NAME = objectinspector
|
|
7 |
else:isEqual(QTSHAREDLIB, -lpropertyeditor):QT_SHARED_LIB_NAME = propertyeditor
|
|
8 |
else:isEqual(QTSHAREDLIB, -lwidgetbox):QT_SHARED_LIB_NAME = widgetbox
|
|
9 |
else:isEqual(QTSHAREDLIB, -lsignalsloteditor):QT_SHARED_LIB_NAME = signalsloteditor
|
|
10 |
else:isEqual(QTSHAREDLIB, -ltabordereditor):QT_SHARED_LIB_NAME = tabordereditor
|
|
11 |
else:isEqual(QTSHAREDLIB, -lresourceeditor):QT_SHARED_LIB_NAME = resourceeditor
|
|
12 |
else:isEqual(QTSHAREDLIB, -lbuddyeditor):QT_SHARED_LIB_NAME = buddyeditor
|
|
13 |
else:isEqual(QTSHAREDLIB, -ltaskmenu):QT_SHARED_LIB_NAME = taskmenu
|
|
14 |
else:isEqual(QTSHAREDLIB, -lQtDesigner):QT_SHARED_LIB_NAME = QtDesigner
|
|
15 |
else:isEqual(QTSHAREDLIB, -lQtDesignerComponents):QT_SHARED_LIB_NAME = QtDesignerComponents
|
|
16 |
else:isEqual(QTSHAREDLIB, -lQtOpenGL):QT_SHARED_LIB_NAME = QtOpenGL
|
|
17 |
|
|
18 |
!isEmpty(QT_SHARED_LIB_NAME) {
|
|
19 |
LIBS -= -l$${QT_SHARED_LIB_NAME}
|
|
20 |
qtAddLibrary($$QT_SHARED_LIB_NAME)
|
|
21 |
}
|
|
22 |
}
|
|
23 |
|
|
24 |
unix {
|
|
25 |
CONFIG += create_pc
|
|
26 |
QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
|
|
27 |
QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
|
|
28 |
QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
|
|
29 |
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
|
30 |
}
|