qmake: Fix name of header-only modules when doing simulator builds.

This solves an issue where header only modules in a simulator build with
frameworks on Apple platforms would result in a module like
"QtZlib_iphonesimulator.framework" being created. This patch removes
the "_iphonesimulator" infix from the name.

Change-Id: I60e818042d776cc6ac430413ccea1be1a1a1e48b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Jake Petroules 2016-02-23 08:46:10 -08:00
parent c5001b9db3
commit 4e551aeb0e

View File

@ -113,6 +113,7 @@ lib_bundle {
CONFIG += sliced_bundle
header_module {
CONFIG += bundle
QMAKE_BUNDLE_NAME = $$TARGET
QMAKE_BUNDLE_EXTENSION = .framework
QMAKE_INFO_PLIST = $$QMAKESPEC/Info.plist.lib
}