summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_module.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-04-27 18:20:04 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-04-27 18:58:50 +0000
commit0823e3f746161da030d24797a9f17c54f6fd763e (patch)
tree5f7ae887b1aa282b0b3e847db21c998897831ebe /mkspecs/features/qt_module.prf
parent6cb495dee36d3099705c3a07a12de6ded4a30015 (diff)
make headers-only modules work for framework builds
Change-Id: I00125883335c5b8cc556b4e4c964e11c55aa989b Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/qt_module.prf')
-rw-r--r--mkspecs/features/qt_module.prf9
1 files changed, 8 insertions, 1 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index afa20a9ab1..66a7598597 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
@@ -103,7 +103,14 @@ mac:CONFIG(shared, static|shared):contains(QT_CONFIG, qt_framework) {
# Set the CFBundleIdentifier prefix for Qt frameworks
QMAKE_TARGET_BUNDLE_PREFIX = org.qt-project
#QMAKE_FRAMEWORK_VERSION = 4.0
- CONFIG += lib_bundle sliced_bundle qt_framework
+ CONFIG += sliced_bundle qt_framework
+ qt_no_install_library {
+ CONFIG += bundle
+ QMAKE_BUNDLE_EXTENSION = .framework
+ QMAKE_INFO_PLIST = $$QMAKESPEC/Info.plist.lib
+ } else {
+ CONFIG += lib_bundle
+ }
CONFIG -= qt_install_headers #no need to install these as well
!debug_and_release|!build_all|CONFIG(release, debug|release) {
FRAMEWORK_HEADERS.version = Versions