forked from qt-creator/qt-creator
Fix qbs code style
Change-Id: Ia3e4df528d391580064efbeeab75016335a4299d Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
0527a8bb70
commit
0d20c5b796
@@ -2,7 +2,7 @@ import qbs.base 1.0
|
|||||||
import qbs.fileinfo 1.0 as FileInfo
|
import qbs.fileinfo 1.0 as FileInfo
|
||||||
|
|
||||||
Module {
|
Module {
|
||||||
Depends { id: qtcore; name: "qt.core" }
|
Depends { id: qtcore; name: "Qt.core" }
|
||||||
|
|
||||||
additionalProductFileTags: qtcore.versionMajor < 5 ? ["pluginSpec"] : ["pluginJSON"]
|
additionalProductFileTags: qtcore.versionMajor < 5 ? ["pluginSpec"] : ["pluginJSON"]
|
||||||
property int ide_version_major: project.ide_version_major
|
property int ide_version_major: project.ide_version_major
|
||||||
@@ -49,7 +49,7 @@ Module {
|
|||||||
var inf = new TextFile(input.fileName);
|
var inf = new TextFile(input.fileName);
|
||||||
var all = inf.readAll();
|
var all = inf.readAll();
|
||||||
// replace quoted quotes
|
// replace quoted quotes
|
||||||
all = all.replace(/\\\"/g, "\"");
|
all = all.replace(/\\\"/g, '"');
|
||||||
// replace config vars
|
// replace config vars
|
||||||
vars['QTCREATOR_VERSION'] = qtcreator_version;
|
vars['QTCREATOR_VERSION'] = qtcreator_version;
|
||||||
vars['IDE_VERSION_MAJOR'] = ide_version_major;
|
vars['IDE_VERSION_MAJOR'] = ide_version_major;
|
||||||
@@ -83,8 +83,11 @@ Module {
|
|||||||
var xslFile = project.path + "/src/pluginjsonmetadata.xsl";
|
var xslFile = project.path + "/src/pluginjsonmetadata.xsl";
|
||||||
var xmlPatternsPath = product.modules["qt/core"].binPath + "/xmlpatterns";
|
var xmlPatternsPath = product.modules["qt/core"].binPath + "/xmlpatterns";
|
||||||
var args = [
|
var args = [
|
||||||
"-no-format", "-output", output.fileName,
|
"-no-format",
|
||||||
xslFile, input.fileName
|
"-output",
|
||||||
|
output.fileName,
|
||||||
|
xslFile,
|
||||||
|
input.fileName
|
||||||
];
|
];
|
||||||
var cmd = new Command(xmlPatternsPath, args);
|
var cmd = new Command(xmlPatternsPath, args);
|
||||||
cmd.description = "generating " + FileInfo.fileName(output.fileName);
|
cmd.description = "generating " + FileInfo.fileName(output.fileName);
|
||||||
|
@@ -106,7 +106,7 @@ Project {
|
|||||||
var file = new TextFile(input.fileName);
|
var file = new TextFile(input.fileName);
|
||||||
var content = file.readAll();
|
var content = file.readAll();
|
||||||
// replace quoted quotes
|
// replace quoted quotes
|
||||||
content = content.replace(/\\\"/g, "\"");
|
content = content.replace(/\\\"/g, '"');
|
||||||
// replace Windows line endings
|
// replace Windows line endings
|
||||||
if (onWindows)
|
if (onWindows)
|
||||||
content = content.replace(/\r\n/g, "\n");
|
content = content.replace(/\r\n/g, "\n");
|
||||||
|
32
src/libs/3rdparty/botan/botan.qbs
vendored
32
src/libs/3rdparty/botan/botan.qbs
vendored
@@ -5,14 +5,16 @@ QtcLibrary {
|
|||||||
name: "Botan"
|
name: "Botan"
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: 'core' }
|
Depends { name: "Qt.core" }
|
||||||
|
|
||||||
cpp.includePaths: ["build", "src"]
|
cpp.includePaths: [
|
||||||
|
"build",
|
||||||
|
"src"
|
||||||
|
]
|
||||||
cpp.dynamicLibraries: {
|
cpp.dynamicLibraries: {
|
||||||
if (qbs.targetOS == 'linux' || qbs.targetOS == 'freebsd') {
|
if (qbs.targetOS == "linux" || qbs.targetOS == "freebsd") {
|
||||||
return ['rt']
|
return ["rt"]
|
||||||
}
|
} else if (qbs.targetOS == "windows") {
|
||||||
else if (qbs.targetOS == 'windows') {
|
|
||||||
return [
|
return [
|
||||||
"advapi32",
|
"advapi32",
|
||||||
"user32"
|
"user32"
|
||||||
@@ -22,17 +24,17 @@ QtcLibrary {
|
|||||||
|
|
||||||
cpp.defines: {
|
cpp.defines: {
|
||||||
var result = []
|
var result = []
|
||||||
if (qbs.toolchain == 'msvc2005' || qbs.toolchain == 'msvc2008' || qbs.toolchain == 'msvc2010')
|
if (qbs.toolchain == "msvc2005" || qbs.toolchain == "msvc2008" || qbs.toolchain == "msvc2010")
|
||||||
result.push('BOTAN_DLL=__declspec(dllexport)')
|
result.push("BOTAN_DLL=__declspec(dllexport)")
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.toolchain === 'mingw'
|
condition: qbs.toolchain == "mingw"
|
||||||
cpp.cxxFlags: [
|
cpp.cxxFlags: [
|
||||||
'-fpermissive',
|
"-fpermissive",
|
||||||
'-finline-functions',
|
"-finline-functions",
|
||||||
'-Wno-long-long'
|
"-Wno-long-long"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -500,7 +502,7 @@ QtcLibrary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
condition: qbs.targetOS == "linux" || qbs.targetOS == 'mac'
|
condition: qbs.targetOS == "linux" || qbs.targetOS == "mac"
|
||||||
files: [
|
files: [
|
||||||
"src/alloc/alloc_mmap/mmap_mem.cpp",
|
"src/alloc/alloc_mmap/mmap_mem.cpp",
|
||||||
"src/cert/cvc/asn1_eac_str.cpp",
|
"src/cert/cvc/asn1_eac_str.cpp",
|
||||||
@@ -545,8 +547,8 @@ QtcLibrary {
|
|||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
cpp.linkerFlags: {
|
cpp.linkerFlags: {
|
||||||
if (qbs.toolchain === 'mingw') {
|
if (qbs.toolchain == "mingw") {
|
||||||
return ['--enable-auto-import']
|
return ["--enable-auto-import"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,7 @@ import qbs.base 1.0
|
|||||||
|
|
||||||
DynamicLibrary {
|
DynamicLibrary {
|
||||||
destination: {
|
destination: {
|
||||||
if (qbs.targetOS === "windows")
|
if (qbs.targetOS == "windows")
|
||||||
return "bin"
|
return "bin"
|
||||||
else
|
else
|
||||||
return "lib/qtcreator"
|
return "lib/qtcreator"
|
||||||
|
@@ -17,13 +17,34 @@ QtcLibrary {
|
|||||||
Depends { name: "Qt.gui" }
|
Depends { name: "Qt.gui" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"glsl.h", "glsllexer.h", "glslparser.h", "glslparsertable_p.h", "glslast.h",
|
"glsl.h",
|
||||||
"glslastvisitor.h", "glslengine.h", "glslmemorypool.h", "glslastdump.h",
|
"glsllexer.h",
|
||||||
"glslsemantic.h", "glsltype.h", "glsltypes.h", "glslsymbol.h", "glslsymbols.h",
|
"glslparser.h",
|
||||||
"glslkeywords.cpp", "glslparser.cpp", "glslparsertable.cpp",
|
"glslparsertable_p.h",
|
||||||
"glsllexer.cpp", "glslast.cpp",
|
"glslast.h",
|
||||||
"glslastvisitor.cpp", "glslengine.cpp", "glslmemorypool.cpp", "glslastdump.cpp",
|
"glslastvisitor.h",
|
||||||
"glslsemantic.cpp", "glsltype.cpp", "glsltypes.cpp", "glslsymbol.cpp", "glslsymbols.cpp",
|
"glslengine.h",
|
||||||
|
"glslmemorypool.h",
|
||||||
|
"glslastdump.h",
|
||||||
|
"glslsemantic.h",
|
||||||
|
"glsltype.h",
|
||||||
|
"glsltypes.h",
|
||||||
|
"glslsymbol.h",
|
||||||
|
"glslsymbols.h",
|
||||||
|
"glslkeywords.cpp",
|
||||||
|
"glslparser.cpp",
|
||||||
|
"glslparsertable.cpp",
|
||||||
|
"glsllexer.cpp",
|
||||||
|
"glslast.cpp",
|
||||||
|
"glslastvisitor.cpp",
|
||||||
|
"glslengine.cpp",
|
||||||
|
"glslmemorypool.cpp",
|
||||||
|
"glslastdump.cpp",
|
||||||
|
"glslsemantic.cpp",
|
||||||
|
"glsltype.cpp",
|
||||||
|
"glsltypes.cpp",
|
||||||
|
"glslsymbol.cpp",
|
||||||
|
"glslsymbols.cpp",
|
||||||
"glsl.g"
|
"glsl.g"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@@ -13,8 +13,7 @@ QtcLibrary {
|
|||||||
]
|
]
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt.gui" }
|
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
||||||
Depends { name: "Qt.network" }
|
|
||||||
Depends { name: "symbianutils" }
|
Depends { name: "symbianutils" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
@@ -50,9 +49,7 @@ QtcLibrary {
|
|||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "symbianutils" }
|
Depends { name: "symbianutils" }
|
||||||
cpp.includePaths: [
|
cpp.includePaths: ["."]
|
||||||
"."
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ QtcLibrary {
|
|||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "LanguageUtils" }
|
Depends { name: "LanguageUtils" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['widgets', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "script"] }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qmljs.qrc",
|
"qmljs.qrc",
|
||||||
|
@@ -5,7 +5,7 @@ DynamicLibrary {
|
|||||||
destination: "lib/qtcreator/qtcomponents/plugin"
|
destination: "lib/qtcreator/qtcomponents/plugin"
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['core', 'widgets', 'quick1', 'script'] }
|
Depends { name: "Qt"; submodules: ["core", "widgets", "quick1", "script"] }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qdeclarativefolderlistmodel.cpp",
|
"qdeclarativefolderlistmodel.cpp",
|
||||||
|
@@ -5,14 +5,16 @@ QtcLibrary {
|
|||||||
name: "QtcSsh"
|
name: "QtcSsh"
|
||||||
|
|
||||||
cpp.defines: ["QSSH_LIBRARY"]
|
cpp.defines: ["QSSH_LIBRARY"]
|
||||||
cpp.includePaths: [ ".", "..",
|
cpp.includePaths: [
|
||||||
|
".",
|
||||||
|
"..",
|
||||||
"../..",
|
"../..",
|
||||||
"../3rdparty/botan/build",
|
"../3rdparty/botan/build",
|
||||||
buildDirectory
|
buildDirectory
|
||||||
]
|
]
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['widgets', 'network' ] }
|
Depends { name: "Qt"; submodules: ["widgets", "network" ] }
|
||||||
Depends { name: "Botan" }
|
Depends { name: "Botan" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
@@ -50,6 +52,6 @@ QtcLibrary {
|
|||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
cpp.includePaths: ".."
|
cpp.includePaths: [".."]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -20,7 +20,7 @@ QtcLibrary {
|
|||||||
cpp.optimization: "fast"
|
cpp.optimization: "fast"
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ["network"]}
|
Depends { name: "Qt.network" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
|
@@ -4,11 +4,14 @@ import "../../tools/QtcTool.qbs" as QtcTool
|
|||||||
QtcTool {
|
QtcTool {
|
||||||
name: "qtcreator_ctrlc_stub"
|
name: "qtcreator_ctrlc_stub"
|
||||||
consoleApplication: true
|
consoleApplication: true
|
||||||
condition: qbs.targetOS === "windows"
|
condition: qbs.targetOS == "windows"
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
|
|
||||||
files: [ "process_ctrlc_stub.cpp" ]
|
files: [ "process_ctrlc_stub.cpp" ]
|
||||||
|
|
||||||
cpp.dynamicLibraries: [ "user32.lib", "shell32.lib" ]
|
cpp.dynamicLibraries: [
|
||||||
|
"user32.lib",
|
||||||
|
"shell32.lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@ QtcTool {
|
|||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
|
|
||||||
files: {
|
files: {
|
||||||
if (qbs.targetOS === "windows") {
|
if (qbs.targetOS == "windows") {
|
||||||
return [ "process_stub_win.c" ]
|
return [ "process_stub_win.c" ]
|
||||||
} else {
|
} else {
|
||||||
return [ "process_stub_unix.c" ]
|
return [ "process_stub_unix.c" ]
|
||||||
@@ -16,7 +16,7 @@ QtcTool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cpp.dynamicLibraries: {
|
cpp.dynamicLibraries: {
|
||||||
if (qbs.targetOS === "windows") {
|
if (qbs.targetOS == "windows") {
|
||||||
return [ "shell32.lib" ]
|
return [ "shell32.lib" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -5,22 +5,28 @@ QtcLibrary {
|
|||||||
name: "Utils"
|
name: "Utils"
|
||||||
|
|
||||||
cpp.defines: ["QTCREATOR_UTILS_LIB"]
|
cpp.defines: ["QTCREATOR_UTILS_LIB"]
|
||||||
cpp.includePaths: [ ".", "..",
|
cpp.includePaths: [
|
||||||
|
".",
|
||||||
|
"..",
|
||||||
"../..",
|
"../..",
|
||||||
buildDirectory
|
buildDirectory
|
||||||
]
|
]
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS == "windows"
|
condition: qbs.targetOS == "windows"
|
||||||
cpp.dynamicLibraries: ["user32", "iphlpapi", "ws2_32"]
|
cpp.dynamicLibraries: [
|
||||||
|
"user32",
|
||||||
|
"iphlpapi",
|
||||||
|
"ws2_32"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS === "linux"
|
condition: qbs.targetOS == "linux"
|
||||||
cpp.dynamicLibraries: ["X11"]
|
cpp.dynamicLibraries: ["X11"]
|
||||||
}
|
}
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['widgets', 'network', 'script', 'concurrent'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network", "script", "concurrent"] }
|
||||||
Depends { name: "app_version_header" }
|
Depends { name: "app_version_header" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
|
@@ -25,9 +25,12 @@ QtcLibrary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"servicebrowser.cpp", "servicebrowser.h", "servicebrowser_p.h",
|
"servicebrowser.cpp",
|
||||||
|
"servicebrowser.h",
|
||||||
|
"servicebrowser_p.h",
|
||||||
"embeddedLib.cpp",
|
"embeddedLib.cpp",
|
||||||
"mdnsderived.cpp", "mdnsderived.h",
|
"mdnsderived.cpp",
|
||||||
|
"mdnsderived.h",
|
||||||
"avahiLib.cpp",
|
"avahiLib.cpp",
|
||||||
"dnsSdLib.cpp",
|
"dnsSdLib.cpp",
|
||||||
"dns_sd_types.h",
|
"dns_sd_types.h",
|
||||||
@@ -37,6 +40,6 @@ QtcLibrary {
|
|||||||
|
|
||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
cpp.includePaths: "."
|
cpp.includePaths: ["."]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "AnalyzerBase"
|
name: "AnalyzerBase"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
Depends { name: "RemoteLinux" }
|
Depends { name: "RemoteLinux" }
|
||||||
@@ -13,7 +13,10 @@ QtcPlugin {
|
|||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
cpp.defines: ["ANALYZER_LIBRARY", "QT_NO_CAST_FROM_ASCII"]
|
cpp.defines: [
|
||||||
|
"ANALYZER_LIBRARY",
|
||||||
|
"QT_NO_CAST_FROM_ASCII"
|
||||||
|
]
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
"..",
|
"..",
|
||||||
"../../libs",
|
"../../libs",
|
||||||
@@ -55,9 +58,7 @@ QtcPlugin {
|
|||||||
|
|
||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
cpp.includePaths: [
|
cpp.includePaths: ["."]
|
||||||
"."
|
|
||||||
]
|
|
||||||
|
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
}
|
}
|
||||||
|
@@ -10,7 +10,7 @@ QtcPlugin {
|
|||||||
Depends { name: "Qt4ProjectManager" }
|
Depends { name: "Qt4ProjectManager" }
|
||||||
Depends { name: "Debugger" }
|
Depends { name: "Debugger" }
|
||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network"] }
|
||||||
|
|
||||||
property bool enable: false
|
property bool enable: false
|
||||||
property var pluginspecreplacements: ({"ANDROID_EXPERIMENTAL_STR": (enable ? "false": "true")})
|
property var pluginspecreplacements: ({"ANDROID_EXPERIMENTAL_STR": (enable ? "false": "true")})
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "AutotoolsProjectManager"
|
name: "AutotoolsProjectManager"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Bazaar"
|
name: "Bazaar"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "BinEditor"
|
name: "BinEditor"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Bookmarks"
|
name: "Bookmarks"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
@@ -31,6 +31,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "ClassView"
|
name: "ClassView"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "CMakeProjectManager"
|
name: "CMakeProjectManager"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
|
@@ -5,10 +5,9 @@ QtcPlugin {
|
|||||||
name: "Core"
|
name: "Core"
|
||||||
|
|
||||||
Depends {
|
Depends {
|
||||||
name: "qt"
|
name: "Qt"
|
||||||
submodules: [
|
submodules: [
|
||||||
'core', 'widgets', 'xml', 'network',
|
"core", "widgets", "xml", "network", "script", "sql", "help", "printsupport"
|
||||||
'script', 'sql', 'help', 'printsupport'
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -30,7 +29,7 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
|
|
||||||
cpp.dynamicLibraries: {
|
cpp.dynamicLibraries: {
|
||||||
if (qbs.targetOS == 'windows') return [
|
if (qbs.targetOS == "windows") return [
|
||||||
"ole32"
|
"ole32"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "CodePaster"
|
name: "CodePaster"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "CppEditor"
|
name: "CppEditor"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "CppTools"
|
name: "CppTools"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "CVS"
|
name: "CVS"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Debugger"
|
name: "Debugger"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network", "script"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
Depends { name: "QmlJSTools" }
|
Depends { name: "QmlJSTools" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Designer"
|
name: "Designer"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'printsupport', 'designer', 'designercomponents'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "printsupport", "designer", "designercomponents"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
@@ -89,6 +89,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ QtcPlugin {
|
|||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
"..",
|
"..",
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Find"
|
name: "Find"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "GenericProjectManager"
|
name: "GenericProjectManager"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Git"
|
name: "Git"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "GLSLEditor"
|
name: "GLSLEditor"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
@@ -7,7 +7,7 @@ QtcPlugin {
|
|||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
"..",
|
"..",
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "ImageViewer"
|
name: "ImageViewer"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'svg'] }
|
Depends { name: "Qt"; submodules: ["widgets", "svg"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
@@ -35,6 +35,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Locator"
|
name: "Locator"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Macros"
|
name: "Macros"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Locator" }
|
Depends { name: "Locator" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
@@ -54,6 +54,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Mercurial"
|
name: "Mercurial"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Perforce"
|
name: "Perforce"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -4,7 +4,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "ProjectExplorer"
|
name: "ProjectExplorer"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Locator" }
|
Depends { name: "Locator" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,9 +5,9 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlDesigner"
|
name: "QmlDesigner"
|
||||||
|
|
||||||
condition: qtcore.versionMajor === 4
|
condition: qtcore.versionMajor == 4
|
||||||
Depends { id: qtcore; name: "qt.core" }
|
Depends { id: qtcore; name: "Qt.core" }
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "QmlJS" }
|
Depends { name: "QmlJS" }
|
||||||
Depends { name: "QmlEditorWidgets" }
|
Depends { name: "QmlEditorWidgets" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlJSEditor"
|
name: "QmlJSEditor"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'script'] }
|
Depends { name: "Qt"; submodules: ["widgets", "script"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
@@ -26,7 +26,7 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"qmljseditor.qrc",
|
"qmljseditor.qrc",
|
||||||
"quicktoolbarsettingspage.ui",
|
"quicktoolbarsettingspage.ui",
|
||||||
"QmlJSEditor.mimetypes.xml",
|
"QmlJSEditor.mimetypes.xml",
|
||||||
"jsfilewizard.cpp",
|
"jsfilewizard.cpp",
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlJSTools"
|
name: "QmlJSTools"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "LanguageUtils" }
|
Depends { name: "LanguageUtils" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlProfiler"
|
name: "QmlProfiler"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network', 'script', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network", "script", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "AnalyzerBase" }
|
Depends { name: "AnalyzerBase" }
|
||||||
Depends { name: "QmlProjectManager" }
|
Depends { name: "QmlProjectManager" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlProjectManager"
|
name: "QmlProjectManager"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
@@ -58,6 +58,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Qt4ProjectManager"
|
name: "Qt4ProjectManager"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QtSupport"
|
name: "QtSupport"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "RemoteLinux"
|
name: "RemoteLinux"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Debugger" }
|
Depends { name: "Debugger" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
@@ -8,7 +8,7 @@ QtcPlugin {
|
|||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml"] }
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
"..",
|
"..",
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Subversion"
|
name: "Subversion"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "TaskList"
|
name: "TaskList"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
@@ -35,6 +35,3 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "TextEditor"
|
name: "TextEditor"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script', 'printsupport'] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "printsupport"] }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Todo"
|
name: "Todo"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Valgrind"
|
name: "Valgrind"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "AnalyzerBase" }
|
Depends { name: "AnalyzerBase" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
@@ -10,7 +10,7 @@ QtcPlugin {
|
|||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "Find" }
|
Depends { name: "Find" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "CppTools" }
|
Depends { name: "CppTools" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Welcome"
|
name: "Welcome"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['widgets', 'network', 'quick1'] }
|
Depends { name: "Qt"; submodules: ["widgets", "network", "quick1"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
|
||||||
|
@@ -5,18 +5,30 @@ import "../QtcTool.qbs" as QtcTool
|
|||||||
QtcTool {
|
QtcTool {
|
||||||
name: "mdnssd"
|
name: "mdnssd"
|
||||||
|
|
||||||
cpp.defines: [ "PID_FILE=\"/tmp/mdnsd.pid\"", "MDNS_UDS_SERVERPATH=\"/tmp/mdnsd\"",
|
cpp.defines: [
|
||||||
"MDNS_DEBUGMSGS=0", "HAVE_IPV6" ]
|
'PID_FILE="/tmp/mdnsd.pid"',
|
||||||
cpp.includePaths: [ ".", buildDirectory ]
|
'MDNS_UDS_SERVERPATH="/tmp/mdnsd"',
|
||||||
|
"MDNS_DEBUGMSGS=0",
|
||||||
|
"HAVE_IPV6"
|
||||||
|
]
|
||||||
|
cpp.includePaths: [
|
||||||
|
".",
|
||||||
|
buildDirectory
|
||||||
|
]
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"uds_daemon.c", "uds_daemon.h",
|
"uds_daemon.c",
|
||||||
"uDNS.c", "uDNS.h",
|
"uds_daemon.h",
|
||||||
"mDNSDebug.c", "mDNSDebug.h",
|
"uDNS.c",
|
||||||
"GenLinkedList.c", "GenLinkedList.h",
|
"uDNS.h",
|
||||||
"dnssd_ipc.c", "dnssd_ipc.h",
|
"mDNSDebug.c",
|
||||||
|
"mDNSDebug.h",
|
||||||
|
"GenLinkedList.c",
|
||||||
|
"GenLinkedList.h",
|
||||||
|
"dnssd_ipc.c",
|
||||||
|
"dnssd_ipc.h",
|
||||||
"DNSDigest.c",
|
"DNSDigest.c",
|
||||||
"DNSCommon.c",
|
"DNSCommon.c",
|
||||||
"mDNSUNP.h",
|
"mDNSUNP.h",
|
||||||
@@ -24,29 +36,34 @@ QtcTool {
|
|||||||
"DNSCommon.h",
|
"DNSCommon.h",
|
||||||
"DebugServices.h",
|
"DebugServices.h",
|
||||||
"dns_sd.h",
|
"dns_sd.h",
|
||||||
"mDNS.c",
|
"mDNS.c"
|
||||||
]
|
]
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
condition: qbs.targetOS === "linux"
|
condition: qbs.targetOS == "linux"
|
||||||
files: [
|
files: [
|
||||||
"mDNSPosix.c", "mDNSPosix.h",
|
"mDNSPosix.c",
|
||||||
"PlatformCommon.c", "PlatformCommon.h",
|
"mDNSPosix.h",
|
||||||
|
"PlatformCommon.c",
|
||||||
|
"PlatformCommon.h",
|
||||||
"PosixDaemon.c",
|
"PosixDaemon.c",
|
||||||
"mDNSUNP.c"
|
"mDNSUNP.c"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS === "linux"
|
condition: qbs.targetOS == "linux"
|
||||||
cpp.defines: outer.concat([
|
cpp.defines: outer.concat([
|
||||||
"_GNU_SOURCE", "NOT_HAVE_SA_LEN",
|
"_GNU_SOURCE",
|
||||||
"USES_NETLINK", "HAVE_LINUX", "TARGET_OS_LINUX"
|
"NOT_HAVE_SA_LEN",
|
||||||
|
"USES_NETLINK",
|
||||||
|
"HAVE_LINUX",
|
||||||
|
"TARGET_OS_LINUX"
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS === "macx"
|
condition: qbs.targetOS == "macx"
|
||||||
cpp.defines: outer.concat([
|
cpp.defines: outer.concat([
|
||||||
"__MAC_OS_X_VERSION_MIN_REQUIRED=__MAC_OS_X_VERSION_10_4",
|
"__MAC_OS_X_VERSION_MIN_REQUIRED=__MAC_OS_X_VERSION_10_4",
|
||||||
"__APPLE_USE_RFC_2292"
|
"__APPLE_USE_RFC_2292"
|
||||||
@@ -54,13 +71,18 @@ QtcTool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
condition: qbs.targetOS === "windows"
|
condition: qbs.targetOS == "windows"
|
||||||
files: [
|
files: [
|
||||||
"Firewall.h", "Firewall.cpp",
|
"Firewall.h",
|
||||||
"mDNSWin32.h", "mDNSWin32.c",
|
"Firewall.cpp",
|
||||||
"Poll.h", "Poll.c",
|
"mDNSWin32.h",
|
||||||
"Secret.h", "Secret.c",
|
"mDNSWin32.c",
|
||||||
"Service.h", "Service.c",
|
"Poll.h",
|
||||||
|
"Poll.c",
|
||||||
|
"Secret.h",
|
||||||
|
"Secret.c",
|
||||||
|
"Service.h",
|
||||||
|
"Service.c",
|
||||||
"DebugServices.c",
|
"DebugServices.c",
|
||||||
"LegacyNATTraversal.c",
|
"LegacyNATTraversal.c",
|
||||||
"resource.h",
|
"resource.h",
|
||||||
@@ -73,24 +95,47 @@ QtcTool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS === "windows"
|
condition: qbs.targetOS == "windows"
|
||||||
cpp.includePaths: outer.concat([buildDirectory + "/" + name])
|
cpp.includePaths: outer.concat([buildDirectory + "/" + name])
|
||||||
cpp.defines: outer.concat([
|
cpp.defines: outer.concat([
|
||||||
"WIN32",
|
"WIN32",
|
||||||
"_WIN32_WINNT=0x0501", "NDEBUG", "MDNS_DEBUGMSGS=0", "TARGET_OS_WIN32",
|
"_WIN32_WINNT=0x0501",
|
||||||
"WIN32_LEAN_AND_MEAN", "USE_TCP_LOOPBACK", "PLATFORM_NO_STRSEP",
|
"NDEBUG",
|
||||||
"PLATFORM_NO_EPIPE", "PLATFORM_NO_RLIMIT", "UNICODE", "_UNICODE",
|
"MDNS_DEBUGMSGS=0",
|
||||||
"_CRT_SECURE_NO_DEPRECATE", "_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1",
|
"TARGET_OS_WIN32",
|
||||||
|
"WIN32_LEAN_AND_MEAN",
|
||||||
|
"USE_TCP_LOOPBACK",
|
||||||
|
"PLATFORM_NO_STRSEP",
|
||||||
|
"PLATFORM_NO_EPIPE",
|
||||||
|
"PLATFORM_NO_RLIMIT",
|
||||||
|
"UNICODE",
|
||||||
|
"_UNICODE",
|
||||||
|
"_CRT_SECURE_NO_DEPRECATE",
|
||||||
|
"_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1",
|
||||||
"_LEGACY_NAT_TRAVERSAL_"
|
"_LEGACY_NAT_TRAVERSAL_"
|
||||||
])
|
])
|
||||||
cpp.dynamicLibraries: [ "ws2_32.lib", "advapi32.lib", "ole32.lib", "oleaut32.lib",
|
cpp.dynamicLibraries: [
|
||||||
"iphlpapi.lib", "netapi32.lib", "user32.lib", "powrprof.lib", "shell32.lib" ]
|
"ws2_32.lib",
|
||||||
|
"advapi32.lib",
|
||||||
|
"ole32.lib",
|
||||||
|
"oleaut32.lib",
|
||||||
|
"iphlpapi.lib",
|
||||||
|
"netapi32.lib",
|
||||||
|
"user32.lib",
|
||||||
|
"powrprof.lib",
|
||||||
|
"shell32.lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.toolchain === 'mingw' || qbs.toolchain === 'gcc'
|
condition: qbs.toolchain == 'mingw' || qbs.toolchain == 'gcc'
|
||||||
cpp.cFlags: [ "-Wno-unused-but-set-variable", "-Wno-strict-aliasing" ]
|
cpp.cFlags: [
|
||||||
cpp.cxxFlags: [ "-Wno-unused-but-set-variable" ]
|
"-Wno-unused-but-set-variable",
|
||||||
|
"-Wno-strict-aliasing"
|
||||||
|
]
|
||||||
|
cpp.cxxFlags: [
|
||||||
|
"-Wno-unused-but-set-variable"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
FileTagger {
|
FileTagger {
|
||||||
|
@@ -3,13 +3,19 @@ import "../QtcTool.qbs" as QtcTool
|
|||||||
|
|
||||||
QtcTool {
|
QtcTool {
|
||||||
name: "qtcdebugger"
|
name: "qtcdebugger"
|
||||||
condition: qbs.targetOS === "windows"
|
condition: qbs.targetOS == "windows"
|
||||||
|
|
||||||
cpp.includePaths: [ buildDirectory, "../../shared/registryaccess" ]
|
cpp.includePaths: [
|
||||||
cpp.dynamicLibraries: [ "psapi", "advapi32" ]
|
buildDirectory,
|
||||||
|
"../../shared/registryaccess"
|
||||||
|
]
|
||||||
|
cpp.dynamicLibraries: [
|
||||||
|
"psapi",
|
||||||
|
"advapi32"
|
||||||
|
]
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['widgets'] }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "app_version_header" }
|
Depends { name: "app_version_header" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
|
@@ -5,7 +5,7 @@ QtcTool {
|
|||||||
name: "qtpromaker"
|
name: "qtpromaker"
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: ['core'] }
|
Depends { name: "Qt.core" }
|
||||||
|
|
||||||
files: [ "main.cpp" ]
|
files: [ "main.cpp" ]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user