/
dep_deng2.pri
30 lines (26 loc) · 1.08 KB
/
dep_deng2.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include(dep_deng2_cwrapper.pri)
# libdeng2's C++ API requires the following Qt modules.
QT += core network gui opengl
win32 {
# Install the required Qt DLLs into the products dir.
INSTALLS *= qtlibs qtplugins
deng_debug: qtver = "d4"
else: qtver = "4"
qtlibs.files += \
$$[QT_INSTALL_BINS]/QtCore$${qtver}.dll \
$$[QT_INSTALL_BINS]/QtNetwork$${qtver}.dll \
$$[QT_INSTALL_BINS]/QtGui$${qtver}.dll \
$$[QT_INSTALL_BINS]/QtOpenGL$${qtver}.dll
qtlibs.path = $$DENG_LIB_DIR
qtplugins.files = $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg4.dll
qtplugins.path = $$DENG_LIB_DIR/imageformats
}
macx {
defineTest(linkToBundledLibdeng2) {
fixInstallName($${1}.bundle/$$1, libdeng2.2.dylib, ..)
fixInstallName($${1}.bundle/$$1, QtCore.framework/Versions/4/QtCore, ..)
fixInstallName($${1}.bundle/$$1, QtNetwork.framework/Versions/4/QtNetwork, ..)
fixInstallName($${1}.bundle/$$1, QtGui.framework/Versions/4/QtGui, ..)
fixInstallName($${1}.bundle/$$1, QtOpenGL.framework/Versions/4/QtOpenGL, ..)
}
}