fix installation of header-only frameworks

in a framework build, the headers are inside the "library", so it's
obviously not very wise to suppress its installation on the basis of
it not being there.

Task-number: QTBUG-57656
Change-Id: I026a3e486a2aad6ee0b8e0d264af4385af945e42
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Harald Fernengel <harryf@gmx.com>
This commit is contained in:
Oswald Buddenhagen 2017-01-31 11:19:16 +01:00
parent a2b4705ac6
commit 8286399b9e

View File

@ -68,9 +68,9 @@ load(qt_build_paths)
header_module {
TEMPLATE = aux
CONFIG += \
force_qt \ # Needed for the headers_clean tests.
qt_no_install_library
CONFIG += force_qt # Needed for the headers_clean tests.
!lib_bundle: \
CONFIG += qt_no_install_library
} else {
TEMPLATE = lib
}