qbs build: Remove unneeded Project items

Also update type descriptions.

Change-Id: I2b7d8814913cfb72cb8280601338ab763d8fabe6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2023-09-14 08:22:23 +02:00
parent a7bbb986dd
commit c816a9b523
23 changed files with 2519 additions and 2612 deletions

View File

@@ -17,6 +17,7 @@
"qbs.Environment",
"qbs.File",
"qbs.FileInfo",
"qbs.Host",
"qbs.ModUtils",
"qbs.PathTools",
"qbs.PkgConfig",

View File

@@ -1,9 +1,6 @@
import qbs
Project {
QtcLibrary {
name: "ptyqt"
QtcLibrary {
Depends { name: "Qt.core" }
Depends { name: "Qt.network"; condition: qbs.targetOS.contains("windows") }
Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
@@ -42,4 +39,3 @@ Project {
cpp.includePaths: base.concat(exportingProduct.sourceDirectory)
}
}
}

View File

@@ -1,4 +1,3 @@
Project {
QtcLibrary {
name: "vterm"
type: "staticlibrary"
@@ -31,4 +30,3 @@ Project {
cpp.includePaths: base.concat("include")
}
}
}

View File

@@ -1,6 +1,3 @@
import qbs 1.0
Project {
QtcLibrary {
name: "yaml-cpp"
@@ -103,4 +100,3 @@ Project {
cpp.defines: base.concat(["YAML_CPP_DLL"])
}
}
}

View File

@@ -1,9 +1,5 @@
import qbs 1.0
Project {
name: "Aggregation"
QtcLibrary {
name: "Aggregation"
Depends { name: "Qt.core" }
cpp.defines: base.concat("AGGREGATION_LIBRARY")
@@ -13,5 +9,4 @@ Project {
"aggregation_global.h",
]
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "CPlusPlus"
QtcLibrary {
cpp.includePaths: base.concat("../3rdparty")
cpp.defines: base.concat([
"NDEBUG",
@@ -132,4 +129,3 @@ Project {
]
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "ExtensionSystem"
QtcLibrary {
cpp.defines: base.concat([
"EXTENSIONSYSTEM_LIBRARY",
"IDE_TEST_DIR=\".\""
@@ -42,4 +39,3 @@ Project {
Depends { name: "Qt.core" }
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "LanguageServerProtocol"
QtcLibrary {
Depends { name: "Utils" }
cpp.defines: base.concat("LANGUAGESERVERPROTOCOL_LIBRARY")
@@ -51,4 +48,3 @@ Project {
"workspace.h",
]
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "LanguageUtils"
QtcLibrary {
cpp.defines: base.concat(["LANGUAGEUTILS_LIBRARY"])
cpp.optimization: "fast"
@@ -17,4 +14,3 @@ Project {
"languageutils_global.h",
]
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "QmlDebug"
QtcLibrary {
cpp.defines: base.concat("QMLDEBUG_LIBRARY")
Depends { name: "Qt"; submodules: ["gui", "network"] }
@@ -37,4 +34,3 @@ Project {
"qpacketprotocol.h",
]
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcLibrary {
name: "QmlJS"
QtcLibrary {
cpp.defines: base.concat(["QMLJS_LIBRARY"])
cpp.optimization: "fast"
@@ -80,4 +77,3 @@ Project {
Depends { name: "LanguageUtils" }
}
}
}

View File

@@ -1,11 +1,6 @@
import qbs 1.0
import QtcLibrary
Project {
QtcLibrary {
name: "Tracing"
QtcLibrary {
Depends { name: "Qt"; submodules: ["qml", "quick", "gui"] }
Depends { name: "Qt.testlib"; condition: project.withAutotests }
Depends { name: "Utils" }
@@ -49,4 +44,3 @@ Project {
cpp.defines: base.concat("TRACING_LIBRARY")
}
}

View File

@@ -1,14 +1,9 @@
import qbs 1.0
import qbs.FileInfo
Project {
name: "Utils"
QtcLibrary {
name: "Utils"
cpp.includePaths: base.concat("mimetypes2", ".")
cpp.defines: base.concat([
"UTILS_LIBRARY"
])
cpp.defines: base.concat(["UTILS_LIBRARY"])
cpp.dynamicLibraries: {
var libs = [];
if (qbs.targetOS.contains("windows")) {
@@ -478,4 +473,3 @@ Project {
cpp.includePaths: base.concat("mimetypes2")
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcPlugin {
name: "Android"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "xml", "network"] }
Depends { name: "Core" }
Depends { name: "Debugger" }
@@ -123,4 +120,3 @@ Project {
]
}
}
}

View File

@@ -1,11 +1,8 @@
import qbs 1.0
import qbs.FileInfo
import qbs.Utilities
Project {
name: "Core"
QtcPlugin {
name: "Core"
Depends {
name: "Qt"
submodules: ["widgets", "xml", "network", "qml", "sql", "printsupport"]
@@ -380,4 +377,3 @@ Project {
Depends { name: "Utils" }
}
}
}

View File

@@ -1,14 +1,12 @@
import qbs 1.0
Project {
QtcPlugin {
name: "Debugger"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "network"] }
Depends { name: "Qt"; submodules: ["network", "widgets"] }
Depends { name: "Aggregation" }
Depends { name: "CPlusPlus" }
Depends { name: "QmlDebug" }
Depends { name: "LanguageUtils" }
Depends { name: "QmlDebug" }
Depends { name: "QmlJS" }
Depends { name: "Utils" }
@@ -18,18 +16,12 @@ Project {
Depends { name: "QtSupport" }
Depends { name: "TextEditor" }
pluginTestDepends: [
"QmakeProjectManager"
]
pluginRecommends: ["BinEditor"]
pluginTestDepends: ["QmakeProjectManager"]
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
cpp.enableExceptions: true
pluginRecommends: [
"CppEditor",
"BinEditor"
]
Group {
name: "General"
files: [
@@ -267,4 +259,3 @@ Project {
Depends { name: "CPlusPlus" }
}
}
}

View File

@@ -1,12 +1,9 @@
import qbs.Utilities
Project {
name: "Help"
QtcPlugin {
name: "Help"
Depends { name: "Qt"; submodules: ["help", "network", "sql"]; }
Depends { name: "Qt"; submodules: ["help", "network", "sql"] }
Depends { name: "Qt.printsupport" }
Depends { name: "Qt.webenginewidgets"; required: false }
@@ -87,4 +84,3 @@ Project {
]
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcPlugin {
name: "ProjectExplorer"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "qml"] }
Depends { name: "Aggregation" }
Depends { name: "Utils" }
@@ -258,4 +255,3 @@ Project {
Depends { name: "Qt.network" }
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcPlugin {
name: "QmakeProjectManager"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "network"] }
Depends { name: "QmlJS" }
Depends { name: "Utils" }
@@ -82,4 +79,3 @@ Project {
Depends { name: "QtSupport" }
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcPlugin {
name: "QtSupport"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "xml"]; }
Depends { name: "Utils" }
@@ -119,4 +116,3 @@ Project {
]
}
}
}

View File

@@ -1,9 +1,6 @@
import qbs 1.0
Project {
QtcPlugin {
name: "RemoteLinux"
QtcPlugin {
Depends { name: "Qt.widgets" }
Depends { name: "QmlDebug" }
Depends { name: "Utils" }
@@ -75,4 +72,3 @@ Project {
Depends { name: "Core" }
}
}
}

View File

@@ -1,15 +1,13 @@
import qbs 1.0
Project {
QtcPlugin {
name: "ResourceEditor"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "xml"] }
Depends { name: "Aggregation" }
Depends { name: "ProjectExplorer" }
Depends { name: "Utils" }
Depends { name: "Core" }
Depends { name: "ProjectExplorer" }
cpp.defines: base.concat(["RESOURCEEDITOR_LIBRARY"])
@@ -36,4 +34,3 @@ Project {
]
}
}
}

View File

@@ -1,11 +1,9 @@
import qbs 1.0
import qbs.FileInfo
import qbs.Environment
Project {
QtcPlugin {
name: "TextEditor"
QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
Depends { name: "Aggregation" }
Depends { name: "Utils" }
@@ -234,4 +232,3 @@ Project {
]
}
}
}