aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2016-08-25 14:02:10 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2016-08-26 06:45:09 +0000
commitc1732882bc616c3607306ef71fe8055fe7e760f3 (patch)
tree08cc4c06824f62516a3ba8896493957dd65cf49e
parent9e4d0662b534418da7ebc60176fc8c55d937a402 (diff)
Make sure project.minimumQbsVersion is inherited to sub-projects
Change-Id: I497df78263c970ef8f33557358cc65b7749eef09 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
-rw-r--r--src/lib/corelib/language/moduleloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/language/moduleloader.cpp b/src/lib/corelib/language/moduleloader.cpp
index 25b0a71c5..226ea069d 100644
--- a/src/lib/corelib/language/moduleloader.cpp
+++ b/src/lib/corelib/language/moduleloader.cpp
@@ -1825,7 +1825,8 @@ void ModuleLoader::copyProperties(const Item *sourceProject, Item *targetProject
// but there are exceptions.
if (it.key() == QLatin1String("qbsSearchPaths") || it.key() == QLatin1String("profile")
|| it.key() == QLatin1String("buildDirectory")
- || it.key() == QLatin1String("sourceDirectory")) {
+ || it.key() == QLatin1String("sourceDirectory")
+ || it.key() == QLatin1String("minimumQbsVersion")) {
const JSSourceValueConstPtr &v
= targetProject->property(it.key()).dynamicCast<const JSSourceValue>();
QBS_ASSERT(v, continue);