aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/qtprofilesetup
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-02-28 12:16:10 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2018-02-28 12:50:11 +0000
commitff2b76e82b6eb1b478383fffee49236d9e5e8bf4 (patch)
tree389b204bd19b91bc8abeb987bdb3f6ef18e17332 /src/lib/qtprofilesetup
parent1f98a8c321993f21918c9d85c653d5f20e6a35ad (diff)
Qt modules: Do not disable the arch check for modules with no library
Otherwise dependencies on private Qt modules will be ambiguous for e.g. Qt Android profiles with more than one architecture. The architecture property is always set, so this change does not erroneously turn conditions to false. Change-Id: I30de95493943c8d90a76f7b22b65d4d69a19c29b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/qtprofilesetup')
-rw-r--r--src/lib/qtprofilesetup/templates/QtModule.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/qtprofilesetup/templates/QtModule.qbs b/src/lib/qtprofilesetup/templates/QtModule.qbs
index 56f80de6a..82ac6eef5 100644
--- a/src/lib/qtprofilesetup/templates/QtModule.qbs
+++ b/src/lib/qtprofilesetup/templates/QtModule.qbs
@@ -5,7 +5,7 @@ Module {
condition: (qbs.targetPlatform === targetPlatform || isCombinedUIKitBuild)
&& (!qbs.architecture
|| architectures.length === 0
- || architectures.contains(qbs.architecture) || !hasLibrary)
+ || architectures.contains(qbs.architecture))
readonly property bool isCombinedUIKitBuild: ["ios", "tvos", "watchos"].contains(targetPlatform)
&& ["x86", "x86_64"].contains(qbs.architecture)