change approach to requesting headers-only modules
there is no need to make exceptions for install targets now, so instead of abusing qt_no_install_library, introduce a new header_module flag. Change-Id: I4ad7e301d1b60938b17e1dea732b1dbe3ff88a1a Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
82449d7251
commit
d4efd4b004
@ -60,7 +60,7 @@ MODULE_DEFINES = $$MODULE_DEFINE $$MODULE_DEFINES
|
||||
|
||||
load(qt_build_paths)
|
||||
|
||||
qt_no_install_library {
|
||||
header_module {
|
||||
TEMPLATE = aux
|
||||
CONFIG += force_qt # Needed for the headers_clean tests.
|
||||
} else {
|
||||
@ -104,7 +104,7 @@ mac:CONFIG(shared, static|shared):contains(QT_CONFIG, qt_framework) {
|
||||
QMAKE_TARGET_BUNDLE_PREFIX = org.qt-project
|
||||
#QMAKE_FRAMEWORK_VERSION = 4.0
|
||||
CONFIG += sliced_bundle qt_framework
|
||||
qt_no_install_library {
|
||||
header_module {
|
||||
CONFIG += bundle
|
||||
QMAKE_BUNDLE_EXTENSION = .framework
|
||||
QMAKE_INFO_PLIST = $$QMAKESPEC/Info.plist.lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user