qt5base-lts/mkspecs/features/qt_installs.prf
Friedemann Kleint ad996a4178 mkspecs: Remove qpa conditionals.
Preparing removal of -qpa from configure.

Change-Id: Id2f784206f97729c739cf20504a2a9428ddc1cce
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-10-31 20:34:43 +01:00

45 lines
1.3 KiB
Plaintext

#always install the library
win32 {
dlltarget.path=$$[QT_INSTALL_BINS]
INSTALLS += dlltarget
}
target.path=$$[QT_INSTALL_LIBS]
INSTALLS += target
#headers
qt_install_headers {
INSTALL_HEADERS = $$SYNCQT.HEADER_FILES
equals(TARGET, QtCore) {
#headers created by configure
INSTALL_HEADERS *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h \
$$QT_SOURCE_TREE/src/corelib/arch/$$QT_ARCH/arch
}
equals(TARGET, phonon) {
class_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
} else {
flat_headers.files = $$INSTALL_HEADERS
flat_headers.path = $$[QT_INSTALL_HEADERS]/Qt
INSTALLS += flat_headers
class_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
}
class_headers.files = $$SYNCQT.HEADER_CLASSES
INSTALLS += class_headers
targ_headers.files = $$INSTALL_HEADERS
targ_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
INSTALLS += targ_headers
private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES
private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/$$eval(QT.$${MODULE}.VERSION)/$$TARGET/private
INSTALLS += private_headers
}
embedded: equals(TARGET, QtGui) {
# install fonts for embedded
INSTALLS += fonts
fonts.path = $$[QT_INSTALL_LIBS]/fonts
fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
}