let modules which are frameworks remember that fact

this will allow us to not rely on the modules matching the global
qt_framework setting.

Change-Id: Ic1dce757ff63d06af54a2428e23a1bbcf1c81ba1
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
Oswald Buddenhagen 2012-06-01 08:23:12 +02:00
parent 88a07df5e5
commit 5cea63d2f2

View File

@ -44,6 +44,8 @@ MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_$${MODULE}.pri
# Create a module .pri file # Create a module .pri file
staticlib: \ staticlib: \
module_build_type = "QT.$${MODULE}.module_config = staticlib" module_build_type = "QT.$${MODULE}.module_config = staticlib"
else:mac:!static:contains(QT_CONFIG, qt_framework): \
module_build_type = "QT.$${MODULE}.module_config = lib_bundle"
else: \ else: \
module_build_type = module_build_type =
!isEmpty(MODULE_CONFIG): \ !isEmpty(MODULE_CONFIG): \