Qbs files: Raise Qt requirement to 5.3.1

Like we have now for the qmake build too.

Change-Id: I00a4cc01f35a4d93b52951c5591dadd4b6aa5e79
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Eike Ziller
2014-08-28 15:21:43 +02:00
parent 9d1bc2fdd3
commit b5ecaff32c
5 changed files with 7 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ QtcProduct {
property var pluginspecreplacements
property var pluginRecommends: []
property string minimumQtVersion: "4.8"
property string minimumQtVersion: "5.3.1"
condition: QtcFunctions.versionIsAtLeast(Qt.core.version, minimumQtVersion)
targetName: QtcFunctions.qtLibraryName(qbs, name)

View File

@@ -14,7 +14,7 @@ QtcPlugin {
Depends {
name: "Qt.gui-private"
condition: qbs.targetOS.contains("windows") && Qt.core.versionMajor >= 5
condition: qbs.targetOS.contains("windows")
}
Depends { name: "Utils" }

View File

@@ -6,17 +6,14 @@ QtcPlugin {
name: "Help"
Depends { name: "Qt"; submodules: ["help", "network"]; }
Depends {
condition: Qt.core.versionMajor >= 5;
name: "Qt.printsupport"
}
Depends { name: "Qt.printsupport" }
Depends {
name: "Qt.webkit"
required: false
}
Depends {
name: "Qt.webkitwidgets"
condition: Qt.core.versionMajor >= 5 && Qt.webkit.present
condition: Qt.webkit.present
}
Depends { name: "Aggregation" }
@@ -29,7 +26,7 @@ QtcPlugin {
cpp.defines: {
var defines = base.concat(["QT_CLUCENE_SUPPORT"]);
if (Qt.core.versionMajor >= 5 && !Qt.webkit.present)
if (!Qt.webkit.present)
defines.push("QT_NO_WEBKIT");
return defines;
}

View File

@@ -7,7 +7,7 @@ QtcPlugin {
name: "ProjectExplorer"
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
Depends { name: "Qt.quick"; condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1"); }
Depends { name: "Qt.quick" }
Depends { name: "Aggregation" }
Depends { name: "QtcSsh" }
Depends { name: "Utils" }
@@ -160,7 +160,6 @@ QtcPlugin {
Group {
name: "Project Welcome Page"
condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1")
files: [
"projectwelcomepage.cpp",
"projectwelcomepage.h"

View File

@@ -7,7 +7,7 @@ QtcPlugin {
name: "QtSupport"
Depends { name: "Qt"; submodules: ["widgets"]; }
Depends { name: "Qt.quick"; condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1"); }
Depends { name: "Qt.quick" }
Depends { name: "Aggregation" }
Depends { name: "QmlJS" }
Depends { name: "Utils" }
@@ -126,7 +126,6 @@ QtcPlugin {
Group {
name: "Getting Started Welcome Page"
condition: QtcFunctions.versionIsAtLeast(Qt.core.version, "5.1")
files: [
"gettingstartedwelcomepage.cpp",
"gettingstartedwelcomepage.h"