summaryrefslogtreecommitdiffstats
path: root/src/qt_install.pri
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-05-18 15:30:27 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-05 14:47:14 +0200
commit1835afe6217c562a61c37676119c0d1f081a9828 (patch)
tree5dbe66d2477638e443f5cec8f6fba7fd28a49492 /src/qt_install.pri
parentc25495dba7eff32b66119737552905787e97e665 (diff)
Moved common module profiles to be feature profiles.
This enables external modules to also make use of them without having access to the complete QtBase source code. Change-Id: I056e45cba6c6798b76670b8d238dadb2d9f9c092 Task: QTBUG-19585 Reviewed-on: http://codereview.qt.nokia.com/234 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'src/qt_install.pri')
-rw-r--r--src/qt_install.pri45
1 files changed, 1 insertions, 44 deletions
diff --git a/src/qt_install.pri b/src/qt_install.pri
index f5ad51f591..8a9a7ab5ba 100644
--- a/src/qt_install.pri
+++ b/src/qt_install.pri
@@ -1,44 +1 @@
-#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 generated 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|qpa: equals(TARGET, QtGui) {
- # install fonts for embedded
- INSTALLS += fonts
- fonts.path = $$[QT_INSTALL_LIBS]/fonts
- fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
-}
+load(qt_installs)