diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2016-08-25 14:02:10 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2016-08-26 06:45:09 +0000 |
commit | c1732882bc616c3607306ef71fe8055fe7e760f3 (patch) | |
tree | 08cc4c06824f62516a3ba8896493957dd65cf49e | |
parent | 9e4d0662b534418da7ebc60176fc8c55d937a402 (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.cpp | 3 |
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); |