forked from qt-creator/qt-creator
Fix qbs build.
Commit cf56178d introduced an impressive amount of syntax errors.
Change-Id: Ibaf8b8384b06ee92b658b71f08ac8d14e92c19b0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
5ed046f1c1
commit
3ae8d6b36a
@@ -2,6 +2,7 @@ import qbs
|
||||
|
||||
Project {
|
||||
name: "Plugins"
|
||||
property bool buildWelcomePlugin: Qt.core.versionMajor >= 5
|
||||
|
||||
references: [
|
||||
"analyzerbase/analyzerbase.qbs",
|
||||
@@ -57,11 +58,6 @@ Project {
|
||||
"updateinfo/updateinfo.qbs",
|
||||
"valgrind/valgrind.qbs",
|
||||
"vcsbase/vcsbase.qbs",
|
||||
"welcome/welcome.qbs"
|
||||
]
|
||||
|
||||
Group {
|
||||
condition: qtcore.versionMajor >= 5
|
||||
references: [ "welcome/welcome.qbs" ]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -135,15 +135,15 @@ QtcPlugin {
|
||||
"toolchainoptionspage.cpp", "toolchainoptionspage.h",
|
||||
"vcsannotatetaskhandler.cpp", "vcsannotatetaskhandler.h",
|
||||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
condition: qtcore.versionMajor >= 5
|
||||
references: [
|
||||
"projectwelcomepage.cpp",
|
||||
"projectwelcomepage.h"
|
||||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Project Welcome Page"
|
||||
condition: project.buildWelcomePlugin
|
||||
files: [
|
||||
"projectwelcomepage.cpp",
|
||||
"projectwelcomepage.h"
|
||||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
|
||||
@@ -111,7 +111,8 @@ QtcPlugin {
|
||||
]
|
||||
|
||||
Group {
|
||||
condition: qtcore.versionMajor >= 5
|
||||
name: "Getting Started Welcome Page"
|
||||
condition: project.buildWelcomePlugin
|
||||
files: [
|
||||
"gettingstartedwelcomepage.cpp",
|
||||
"gettingstartedwelcomepage.h"
|
||||
|
||||
@@ -4,6 +4,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
||||
|
||||
QtcPlugin {
|
||||
name: "Welcome"
|
||||
condition: project.buildWelcomePlugin
|
||||
|
||||
Depends { name: "Qt"; submodules: ["widgets", "network", "quick"] }
|
||||
Depends { name: "Core" }
|
||||
|
||||
Reference in New Issue
Block a user