Commit 95c943a8 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Christian Kandeler

introduce buildQbsProjectManager property

this will centralize some conditionals further down the line

Change-Id: I53b26cc29ac3fa098a583d6ac4d28924e5a1f2a3
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 95859289
......@@ -26,7 +26,7 @@ QtcPlugin {
return libs
}
condition: project.useExternalQbs || project.qbsSubModuleExists
condition: project.buildQbsProjectManager
Depends { name: "Qt"; submodules: [ "widgets", "script" ] }
Depends { name: "ProjectExplorer" }
......
......@@ -15,6 +15,7 @@ Project {
property path qbs_build_dir: qbs.getenv("QBS_BUILD_DIR")
property path qbs_source_dir: qbs.getenv("QBS_SOURCE_DIR")
property bool useExternalQbs: qbs_build_dir && qbs_source_dir
property bool buildQbsProjectManager: useExternalQbs || qbsSubModuleExists
Project {
name: "qbs"
id: qbsProject
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment