qbs files: Consolidate includePaths in QtcLibrary and QtcPlugin

Avoid using "." as includePath when it is unneeded

Change-Id: I9bc6f4ebe50409f49782520033fd5f098aed10d0
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Orgad Shaneh
2012-09-27 17:20:00 +02:00
committed by Christian Kandeler
parent 009c3f1a26
commit 614bb33589
98 changed files with 120 additions and 499 deletions

View File

@@ -7,7 +7,6 @@ QtcLibrary {
Depends { name: "cpp" }
Depends { name: "Qt.core" }
cpp.includePaths: '.'
cpp.dynamicLibraries: {
if (qbs.targetOS == "windows") {
return [
@@ -65,6 +64,6 @@ QtcLibrary {
return ["-Wl,--enable-auto-import"]
}
}
cpp.includePaths: '..'
cpp.includePaths: ".."
}
}

View File

@@ -13,6 +13,7 @@ DynamicLibrary {
if (qbs.buildVariant == "release" && (qbs.toolchain == "gcc" || qbs.toolchain == "mingw"))
return ["-Wl,-s"]
}
cpp.includePaths: [ "." ]
destination: {
if (qbs.targetOS == "windows")
@@ -20,4 +21,9 @@ DynamicLibrary {
else
return "lib/qtcreator"
}
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: [ "." ]
}
}

View File

@@ -4,12 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "Aggregation"
cpp.includePaths: [
".",
".."
]
cpp.defines: base.concat("AGGREGATION_LIBRARY")
Depends { name: "cpp" }
Depends { name: "Qt.core" }

View File

@@ -4,12 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "CPlusPlus"
cpp.includePaths: [
".",
"..",
"../3rdparty/cplusplus",
"../../plugins"
]
cpp.includePaths: base.concat("../3rdparty/cplusplus")
cpp.defines: base.concat([
"NDEBUG",
"CPLUSPLUS_BUILD_LIB"
@@ -181,4 +176,3 @@ QtcLibrary {
]
}
}

View File

@@ -4,10 +4,6 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "ExtensionSystem"
cpp.includePaths: [
".",
".."
]
cpp.defines: base.concat([
"EXTENSIONSYSTEM_LIBRARY",
"IDE_TEST_DIR=\".\""

View File

@@ -4,10 +4,6 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "GLSL"
cpp.includePaths: [
".",
".."
]
cpp.defines: base.concat([
"QT_CREATOR",
"GLSL_BUILD_LIB"
@@ -47,10 +43,5 @@ QtcLibrary {
"glsltypes.cpp",
"glsltypes.h",
]
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: ["."]
}
}

View File

@@ -4,11 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "LanguageUtils"
cpp.includePaths: [
".",
"..",
"../3rdparty/cplusplus"
]
cpp.includePaths: base.concat("../3rdparty/cplusplus")
cpp.defines: base.concat([
"QT_CREATOR",
"LANGUAGEUTILS_BUILD_DIR"

View File

@@ -4,10 +4,6 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "QmlDebug"
cpp.includePaths: [
".",
".."
]
cpp.defines: base.concat([
"QMLDEBUG_LIB"
])
@@ -46,10 +42,5 @@ QtcLibrary {
"qv8profilerclient.cpp",
"qv8profilerclient.h",
]
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: ["."]
}
}

View File

@@ -31,7 +31,7 @@
#ifndef COLORBOX_H
#define COLORBOX_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>
#include <qdeclarative.h>

View File

@@ -31,7 +31,7 @@
#ifndef COLORBUTTON_H
#define COLORBUTTON_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QToolButton>
#include <qdeclarative.h>

View File

@@ -31,7 +31,7 @@
#ifndef COLORWIDGET_H
#define COLORWIDGET_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
namespace QmlEditorWidgets {

View File

@@ -31,7 +31,7 @@
#ifndef CONTEXTPANETEXTWIDGET_H
#define CONTEXTPANETEXTWIDGET_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>
QT_BEGIN_NAMESPACE

View File

@@ -31,7 +31,7 @@
#ifndef CONTEXTPANEWIDGET_H
#define CONTEXTPANEWIDGET_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QFrame>
#include <QPointer>

View File

@@ -31,8 +31,8 @@
#ifndef CONTEXTPANEWIDGETIMAGE_H
#define CONTEXTPANEWIDGETIMAGE_H
#include <qmleditorwidgets_global.h>
#include <contextpanewidget.h>
#include "qmleditorwidgets_global.h"
#include "contextpanewidget.h"
#include <qdrawutil.h>
#include <QLabel>

View File

@@ -31,7 +31,7 @@
#ifndef CONTEXTPANEWIDGETRECTANGLE_H
#define CONTEXTPANEWIDGETRECTANGLE_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>
QT_BEGIN_NAMESPACE

View File

@@ -31,7 +31,7 @@
#ifndef CUSTOMCOLORDIALOG_H
#define CUSTOMCOLORDIALOG_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QFrame>
QT_BEGIN_NAMESPACE

View File

@@ -32,7 +32,7 @@
#ifndef FILEWIDGET_H
#define FILEWIDGET_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>

View File

@@ -31,7 +31,7 @@
#ifndef FONTSIZESPINBOX_H
#define FONTSIZESPINBOX_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QAbstractSpinBox>
namespace QmlEditorWidgets {

View File

@@ -31,7 +31,7 @@
#ifndef GRADIENTLINE_H
#define GRADIENTLINE_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>
#include <QLinearGradient>

View File

@@ -31,7 +31,7 @@
#ifndef HUECONTROL_H
#define HUECONTROL_H
#include <qmleditorwidgets_global.h>
#include "qmleditorwidgets_global.h"
#include <QWidget>
#include <qdeclarative.h>

View File

@@ -4,11 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "QmlEditorWidgets"
cpp.includePaths: [
".",
"..",
"easingpane"
]
cpp.includePaths: base.concat("easingpane")
cpp.defines: base.concat([
"QWEAKPOINTER_ENABLE_ARROW",
"BUILD_QMLEDITORWIDGETS_LIB",
@@ -59,10 +55,5 @@ QtcLibrary {
"easingpane/easinggraph.h",
"easingpane/easingpane.qrc",
]
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: ["."]
}
}

View File

@@ -4,11 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "QmlJS"
cpp.includePaths: [
".",
"..",
"parser"
]
cpp.includePaths: base.concat("parser")
cpp.defines: base.concat([
"QMLJS_BUILD_DIR",
"QT_CREATOR"
@@ -105,10 +101,6 @@ QtcLibrary {
ProductModule {
Depends { name: "cpp" }
Depends { name: "LanguageUtils" }
cpp.includePaths: [
".",
"parser"
]
cpp.defines: [
"QT_CREATOR"
]

View File

@@ -5,12 +5,6 @@ QtcLibrary {
name: "QtcSsh"
cpp.defines: base.concat(["QSSH_LIBRARY"])
cpp.includePaths: [
".",
"..",
"../..",
buildDirectory
]
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["widgets", "network" ] }
@@ -50,8 +44,6 @@ QtcLibrary {
]
ProductModule {
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["widgets", "network"] }
cpp.includePaths: [".."]
}
}

View File

@@ -29,6 +29,7 @@
**************************************************************************/
#include "crumblepath.h"
#include "qtcassert.h"
#include "stylehelper.h"
#include <QList>
@@ -40,8 +41,6 @@
#include <QPainter>
#include <QImage>
#include <qtcassert.h>
namespace Utils {
static const int ArrowBorderSize = 12;

View File

@@ -45,7 +45,7 @@
<customwidget>
<class>Utils::PathChooser</class>
<extends>QWidget</extends>
<header>pathchooser.h</header>
<header location="global">utils/pathchooser.h</header>
<container>1</container>
</customwidget>
</customwidgets>

View File

@@ -29,9 +29,8 @@
**************************************************************************/
#include "synchronousprocess.h"
#include "qtcassert.h"
#include "hostosinfo.h"
#include <qtcassert.h>
#include <QDebug>
#include <QTimer>

View File

@@ -5,12 +5,6 @@ QtcLibrary {
name: "Utils"
cpp.defines: base.concat(["QTCREATOR_UTILS_LIB"])
cpp.includePaths: [
".",
"..",
"../..",
buildDirectory
]
Properties {
condition: qbs.targetOS == "windows"
@@ -213,9 +207,7 @@ QtcLibrary {
}
ProductModule {
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["concurrent", "widgets" ] }
cpp.includePaths: [".."]
}
}

View File

@@ -6,8 +6,8 @@ QtcLibrary {
Depends { name: "cpp" }
Depends { name: "Qt.network" }
cpp.includePaths: base.concat(".")
cpp.includePaths: "."
cpp.defines: base.concat("ZEROCONF_LIBRARY")
Properties {
@@ -38,9 +38,4 @@ QtcLibrary {
"syssocket.h",
"zeroconf_global.h",
]
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: ["."]
}
}

View File

@@ -33,6 +33,7 @@ Product {
if (qbs.buildVariant == "release" && (qbs.toolchain == "gcc" || qbs.toolchain == "mingw"))
return ["-Wl,-s"]
}
cpp.includePaths: [ ".", ".." ]
Group {
files: [ name + ".pluginspec.in" ]

View File

@@ -17,11 +17,6 @@ QtcPlugin {
"ANALYZER_LIBRARY",
"QT_NO_CAST_FROM_ASCII"
])
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"analyzerbase.qrc",
@@ -56,9 +51,6 @@ QtcPlugin {
]
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: ["."]
Depends { name: "CPlusPlus" }
}
}

View File

@@ -15,12 +15,7 @@ QtcPlugin {
property bool enable: false
property var pluginspecreplacements: ({"ANDROID_EXPERIMENTAL_STR": (enable ? "false": "true")})
cpp.includePaths: [
"..",
buildDirectory,
"../../libs",
"../../shared"
]
cpp.includePaths: base.concat("../../shared")
files: [
"addnewavddialog.ui",

View File

@@ -13,12 +13,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"autogenstep.cpp",

View File

@@ -13,11 +13,6 @@ QtcPlugin {
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",

View File

@@ -11,11 +11,6 @@ QtcPlugin {
Depends { name: "Find" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"bineditor.cpp",

View File

@@ -13,11 +13,6 @@ QtcPlugin {
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"bookmark.cpp",

View File

@@ -13,11 +13,6 @@ QtcPlugin {
Depends { name: "TextEditor" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"classview.qrc",

View File

@@ -18,12 +18,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"activityselector.cpp",

View File

@@ -14,14 +14,6 @@ QtcPlugin {
Depends { name: "Locator" }
Depends { name: "QtSupport" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"CMakeProject.mimetypes.xml",
"cmakebuildconfiguration.cpp",

View File

@@ -15,18 +15,15 @@ QtcPlugin {
Depends { name: "Aggregation" }
Depends { name: "app_version_header" }
cpp.includePaths: [
".",
"..",
cpp.includePaths: base.concat([
"../..",
"../../libs",
"../../../src/shared/scriptwrapper/",
"../../shared/scriptwrapper",
"dialogs",
"editormanager",
"progressmanager",
"scriptmanager",
"actionmanager"
]
])
cpp.dynamicLibraries: {
if (qbs.targetOS == "windows") return [
@@ -257,11 +254,5 @@ QtcPlugin {
Depends { name: "Aggregation" }
Depends { name: "ExtensionSystem" }
Depends { name: "Utils" }
cpp.includePaths: [
"../..",
"../../libs",
product.buildDirectory + "/.obj/Core/actionmanager"
]
}
}

View File

@@ -31,7 +31,7 @@
#ifndef INAVIGATIONWIDGET_H
#define INAVIGATIONWIDGET_H
#include <coreplugin/id.h>
#include "id.h"
#include <QObject>
#include <QList>

View File

@@ -30,8 +30,8 @@
#include "progressmanager_p.h"
#include "progressview.h"
#include "coreconstants.h"
#include "icore.h"
#include "../coreconstants.h"
#include "../icore.h"
#include <utils/qtcassert.h>

View File

@@ -10,13 +10,7 @@ QtcPlugin {
Depends { name: "TextEditor" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
"../../shared/cpaster",
"..",
"../../libs",
buildDirectory
]
cpp.includePaths: base.concat("../../shared/cpaster")
files: [
"codepasterprotocol.cpp",

View File

@@ -12,12 +12,8 @@ QtcPlugin {
Depends { name: "TextEditor" }
Depends { name: "ProjectExplorer" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
"../../libs/3rdparty",
buildDirectory
]
cpp.includePaths: base.concat("../../libs/3rdparty")
files: [
"CppEditor.mimetypes.xml",
@@ -62,4 +58,3 @@ QtcPlugin {
"cpptypehierarchy.h",
]
}

View File

@@ -31,7 +31,7 @@
#ifndef CPPFUNCTIONSFILTER_H
#define CPPFUNCTIONSFILTER_H
#include <cpplocatorfilter.h>
#include "cpplocatorfilter.h"
namespace CppTools {
namespace Internal {

View File

@@ -17,12 +17,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_TO_ASCII"])
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"ModelManagerInterface.cpp",
@@ -117,4 +111,3 @@ QtcPlugin {
Depends { name: "CPlusPlus" }
}
}

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "VcsBase" }
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",
"annotationhighlighter.h",

View File

@@ -20,17 +20,12 @@ QtcPlugin {
Depends { name: "QtcSsh" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
cpp.includePaths: base.concat([
"shared",
"lldb",
"..",
"../../libs",
"../../shared/json",
buildDirectory,
"../../libs/utils",
"../../shared/registryaccess/"
]
"../../shared/registryaccess"
])
Group {
condition: Defaults.testsEnabled(qbs)

View File

@@ -14,15 +14,11 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["CPP_ENABLED"])
cpp.includePaths: [
cpp.includePaths: base.concat([
"../../libs/3rdparty",
"cpp",
"../../shared/designerintegrationv2",
".",
"..",
"../../libs",
buildDirectory
]
"../../shared/designerintegrationv2"
])
files: [
"Designer.mimetypes.xml",
@@ -88,4 +84,3 @@ QtcPlugin {
"cpp/formclasswizardparameters.h",
]
}

View File

@@ -9,15 +9,8 @@ QtcPlugin {
Depends { name: "Core" }
Depends { name: "TextEditor" }
Depends { name: "Find" }
Depends { name: "cpp" }
Depends { name: "Qt.widgets" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"fakevimactions.cpp",
"fakevimactions.h",

View File

@@ -9,16 +9,12 @@ QtcPlugin {
Depends { name: "Core" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
"..",
cpp.includePaths: base.concat([
"generichighlighter",
"tooltip",
"snippets",
"codeassist",
"../../libs",
buildDirectory
]
"codeassist"
])
files: [
"basetextfind.cpp",
@@ -57,4 +53,3 @@ QtcPlugin {
"treeviewfind.h",
]
}

View File

@@ -15,13 +15,6 @@ QtcPlugin {
Depends { name: "Locator" }
Depends { name: "QtSupport" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"filesselectionwizardpage.cpp",
"filesselectionwizardpage.h",
@@ -50,4 +43,3 @@ QtcPlugin {
"selectablefilesmodel.h",
]
}

View File

@@ -34,10 +34,10 @@
#include "gerritmodel.h"
#include "gerritoptionspage.h"
#include <gitplugin.h>
#include <gitclient.h>
#include <gitversioncontrol.h>
#include <gitconstants.h>
#include "../gitplugin.h"
#include "../gitclient.h"
#include "../gitversioncontrol.h"
#include "../gitconstants.h"
#include <vcsbase/vcsbaseconstants.h>
#include <vcsbase/vcsbaseeditor.h>

View File

@@ -14,14 +14,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
cpp.includePaths: [
".",
"gitorious",
"gerrit",
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",
@@ -117,4 +109,3 @@ QtcPlugin {
]
}
}

View File

@@ -32,9 +32,9 @@
#include "gitorioushostwizardpage.h"
#include "gitoriousprojectwizardpage.h"
#include "gitoriousrepositorywizardpage.h"
#include "clonewizardpage.h"
#include <git/gitplugin.h>
#include "../clonewizardpage.h"
#include "../gitplugin.h"
#include <coreplugin/iversioncontrol.h>
#include <vcsbase/checkoutjobs.h>

View File

@@ -40,12 +40,12 @@
#include "branchdialog.h"
#include "remotedialog.h"
#include "clonewizard.h"
#include "gitoriousclonewizard.h"
#include "gitorious/gitoriousclonewizard.h"
#include "stashdialog.h"
#include "settingspage.h"
#include "resetdialog.h"
#include <gerritplugin.h>
#include "gerrit/gerritplugin.h"
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>

View File

@@ -13,14 +13,6 @@ QtcPlugin {
Depends { name: "GLSL" }
Depends { name: "CPlusPlus" }
Depends { name: "cpp" }
cpp.includePaths: [
"../..",
"..",
"../../libs",
buildDirectory
]
files: [
"GLSLEditor.mimetypes.xml",
"glslautocompleter.cpp",
@@ -52,4 +44,3 @@ QtcPlugin {
"reuse.h",
]
}

View File

@@ -6,15 +6,8 @@ QtcPlugin {
name: "HelloWorld"
Depends { name: "Core" }
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script"] }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"helloworldplugin.cpp",
"helloworldplugin.h",

View File

@@ -26,13 +26,7 @@ QtcPlugin {
cpp.defines: base.concat(["QT_NO_WEBKIT"])
}
cpp.defines: base.concat(["QT_CLUCENE_SUPPORT"])
cpp.includePaths: [
"../../shared/help",
".",
"..",
"../..",
"../../libs"
]
cpp.includePaths: base.concat("../../shared/help")
files: [
"centralwidget.cpp",
@@ -96,4 +90,3 @@ QtcPlugin {
"../../shared/help/topicchooser.ui",
]
}

View File

@@ -8,14 +8,6 @@ QtcPlugin {
Depends { name: "Qt"; submodules: ["widgets", "svg"] }
Depends { name: "Core" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"ImageViewer.mimetypes.xml",
"imageview.cpp",
@@ -35,4 +27,3 @@ QtcPlugin {
"imageviewertoolbar.ui",
]
}

View File

@@ -9,16 +9,12 @@ QtcPlugin {
Depends { name: "Core" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
"..",
cpp.includePaths: base.concat([
"generichighlighter",
"tooltip",
"snippets",
"codeassist",
"../../libs",
buildDirectory
]
"codeassist"
])
files: [
"basefilefilter.cpp",
@@ -55,4 +51,3 @@ QtcPlugin {
"images/reload.png",
]
}

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "TextEditor" }
Depends { name: "app_version_header" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
"../.."
]
files: [
"actionmacrohandler.cpp",
"actionmacrohandler.h",
@@ -53,4 +46,3 @@ QtcPlugin {
"texteditormacrohandler.h",
]
}

View File

@@ -13,11 +13,6 @@ QtcPlugin {
Depends { name: "Qt.gui" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
cpp.defines: base.concat(['QT_NO_CAST_TO_ASCII'])
files: [

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "VcsBase" }
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",
"annotationhighlighter.h",
@@ -54,4 +47,3 @@ QtcPlugin {
"srcdestdialog.ui",
]
}

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "VcsBase" }
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",
"annotationhighlighter.h",
@@ -50,4 +43,3 @@ QtcPlugin {
"submitpanel.ui",
]
}

View File

@@ -29,13 +29,13 @@
**************************************************************************/
#include "applicationlauncher.h"
#include "consoleprocess.h"
#ifdef Q_OS_WIN
#include "windebuginterface.h"
#endif
#include <coreplugin/icore.h>
#include <utils/consoleprocess.h>
#include <utils/qtcprocess.h>
#ifdef Q_OS_WIN
#include <utils/winutils.h>

View File

@@ -33,7 +33,8 @@
#include "ui_processstep.h"
#include "abstractprocessstep.h"
#include "environment.h"
#include <utils/environment.h>
namespace ProjectExplorer {

View File

@@ -33,7 +33,6 @@
#include "buildconfiguration.h"
#include "deployconfiguration.h"
#include "editorconfiguration.h"
#include "environment.h"
#include "projectexplorer.h"
#include "projectexplorerconstants.h"
#include "projectnodes.h"
@@ -49,6 +48,7 @@
#include <projectexplorer/kitmanager.h>
#include <limits>
#include <utils/qtcassert.h>
#include <utils/environment.h>
/*!
\class ProjectExplorer::Project

View File

@@ -1,4 +1,5 @@
import qbs.base 1.0
import "../QtcPlugin.qbs" as QtcPlugin
import "../../../qbs/defaults.js" as Defaults
@@ -14,15 +15,10 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QTC_CPU=X86Architecture"])
cpp.includePaths: [
".",
"..",
"../../libs",
"../../libs/utils",
cpp.includePaths: base.concat([
"customwizard",
"publishing",
buildDirectory
]
"publishing"
])
files: [
"abi.cpp",
@@ -342,8 +338,6 @@ QtcPlugin {
}
ProductModule {
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["network"] }
cpp.includePaths: [".."]
Depends { name: "Qt.network" }
}
}

View File

@@ -21,8 +21,7 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QWEAKPOINTER_ENABLE_ARROW"])
cpp.includePaths: [
".",
cpp.includePaths: base.concat([
"designercore",
"designercore/include",
"../../../share/qtcreator/qml/qmlpuppet/interfaces",
@@ -35,11 +34,8 @@ QtcPlugin {
"components/itemlibrary",
"components/navigator",
"components/pluginmanager",
"components/stateseditor",
"..",
"../../libs",
buildDirectory
]
"components/stateseditor"
])
Group {
prefix: "designercore/filemanager/"

View File

@@ -18,12 +18,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_CREATOR"])
cpp.includePaths: [
".",
"..",
"../../libs",
buildDirectory
]
files: [
"QmlJSEditor.mimetypes.xml",
@@ -98,4 +92,3 @@ QtcPlugin {
Depends { name: "QmlJSTools" }
}
}

View File

@@ -29,10 +29,11 @@
**************************************************************************/
#include "quicktoolbar.h"
#include <contextpanewidget.h>
#include <quicktoolbarsettingspage.h>
#include "quicktoolbarsettingspage.h"
#include <utils/changeset.h>
#include <qmleditorwidgets/contextpanewidget.h>
#include <qmleditorwidgets/customcolordialog.h>
#include <qmljs/parser/qmljsast_p.h>
#include <qmljs/qmljsdocument.h>
#include <qmljs/qmljspropertyreader.h>
@@ -46,7 +47,6 @@
#include <texteditor/basetexteditor.h>
#include <texteditor/tabsettings.h>
#include <coreplugin/icore.h>
#include <customcolordialog.h>
#include <QDebug>

View File

@@ -19,12 +19,7 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_TO_ASCII"])
cpp.includePaths: [
"..",
"../../libs",
"../../libs/3rdparty",
buildDirectory
]
cpp.includePaths: base.concat("../../libs/3rdparty")
files: [
"qmljscodestylepreferencesfactory.cpp",
@@ -70,4 +65,3 @@ QtcPlugin {
Depends { name: "QmlDebug" }
}
}

View File

@@ -20,12 +20,7 @@ QtcPlugin {
Depends { name: "CPlusPlus" }
Depends { name: "cpp" }
cpp.includePaths: [
"canvas",
"..",
"../../libs",
buildDirectory
]
cpp.includePaths: base.concat("canvas")
files: [
"abstractqmlprofilerrunner.h",
@@ -87,4 +82,3 @@ QtcPlugin {
"qml/qmlprofiler.qrc",
]
}

View File

@@ -15,12 +15,6 @@ QtcPlugin {
Depends { name: "QtSupport" }
Depends { name: "app_version_header" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs"
]
files: [
"QmlProject.mimetypes.xml",
"qmlproject.cpp",
@@ -55,4 +49,3 @@ QtcPlugin {
"fileformat/qmlprojectitem.h",
]
}

View File

@@ -18,12 +18,7 @@ QtcPlugin {
property var pluginspecreplacements: ({"QNX_EXPERIMENTAL_STR": (enable ? "false" : "true")})
cpp.defines: base.concat(["QT_NO_CAST_TO_ASCII", "QT_NO_CAST_FROM_ASCII"])
cpp.includePaths: [
"..",
buildDirectory,
"../../libs",
"../../shared"
]
cpp.includePaths: base.concat("../../shared")
files: [
"bardescriptorfileimagewizardpage.cpp",

View File

@@ -29,7 +29,7 @@
**************************************************************************/
#include "desktopqtversion.h"
#include "qt4projectmanagerconstants.h"
#include "../qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <proparser/profileevaluator.h>

View File

@@ -28,8 +28,8 @@
**
**************************************************************************/
#include "desktopqtversionfactory.h"
#include "qt4projectmanagerconstants.h"
#include "desktopqtversion.h"
#include "../qt4projectmanagerconstants.h"
#include <qtsupport/qtversionmanager.h>
#include <qtsupport/qtsupportconstants.h>

View File

@@ -30,12 +30,12 @@
#include "qt4runconfiguration.h"
#include "makestep.h"
#include "qt4nodes.h"
#include "qt4project.h"
#include "qt4buildconfiguration.h"
#include "qt4projectmanagerconstants.h"
#include "qmakestep.h"
#include "../makestep.h"
#include "../qt4nodes.h"
#include "../qt4project.h"
#include "../qt4buildconfiguration.h"
#include "../qt4projectmanagerconstants.h"
#include "../qmakestep.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>

View File

@@ -17,22 +17,16 @@ QtcPlugin {
Depends { name: "TextEditor" }
Depends { name: "cpp" }
cpp.defines: {
return base.concat([
cpp.defines: base.concat([
"PROPARSER_AS_LIBRARY",
"PROPARSER_THREAD_SAFE",
"PROEVALUATOR_THREAD_SAFE",
"PROEVALUATOR_CUMULATIVE"
])
}
cpp.includePaths: [
".",
"..",
buildDirectory,
cpp.includePaths: base.concat([
"customwidgetwizard",
"../../libs",
"../../shared",
]
])
files: [
"Qt4ProjectManager.mimetypes.xml",

View File

@@ -12,14 +12,10 @@ QtcPlugin {
Depends { name: "QmlJS" }
Depends { name: "cpp" }
cpp.includePaths: [
".",
cpp.includePaths: base.concat([
"../../shared",
"../../shared/proparser",
"..",
"../../libs",
buildDirectory
]
"../../shared/proparser"
])
cpp.defines: base.concat([
"QT_NO_CAST_FROM_ASCII",
@@ -108,7 +104,7 @@ QtcPlugin {
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: [ "../../shared" ]
cpp.includePaths: "../../shared"
cpp.defines: [
"QMAKE_AS_LIBRARY",
"PROEVALUATOR_THREAD_SAFE",

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "QtSupport" }
Depends { name: "QtcSsh" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"abstractpackagingstep.cpp",
"abstractpackagingstep.h",

View File

@@ -10,14 +10,7 @@ QtcPlugin {
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["widgets", "xml"] }
cpp.includePaths: [
"..",
"../..",
"../../libs",
buildDirectory,
"qrceditor",
"../../tools/utils"
]
cpp.includePaths: base.concat("qrceditor")
files: [
"ResourceEditor.mimetypes.xml",
@@ -42,4 +35,3 @@ QtcPlugin {
"qrceditor/undocommands_p.h",
]
}

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "VcsBase" }
Depends { name: "Locator" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"annotationhighlighter.cpp",
"annotationhighlighter.h",

View File

@@ -12,13 +12,6 @@ QtcPlugin {
Depends { name: "Locator" }
Depends { name: "TextEditor" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"TaskList.mimetypes.xml",
"stopmonitoringhandler.cpp",

View File

@@ -31,8 +31,8 @@
#ifndef HIGHLIGHTER_H
#define HIGHLIGHTER_H
#include "basetextdocumentlayout.h"
#include "syntaxhighlighter.h"
#include "../basetextdocumentlayout.h"
#include "../syntaxhighlighter.h"
#include <QString>
#include <QVector>

View File

@@ -31,7 +31,7 @@
#ifndef HIGHLIGHTERSETTINGSPAGE_H
#define HIGHLIGHTERSETTINGSPAGE_H
#include "texteditoroptionspage.h"
#include "../texteditoroptionspage.h"
QT_BEGIN_NAMESPACE
template <class> class QList;

View File

@@ -31,7 +31,7 @@
#ifndef SNIPPETSSETTINGSPAGE_H
#define SNIPPETSSETTINGSPAGE_H
#include "texteditoroptionspage.h"
#include "../texteditoroptionspage.h"
namespace TextEditor {
namespace Internal {

View File

@@ -11,16 +11,12 @@ QtcPlugin {
Depends { name: "Find" }
Depends { name: "Locator" }
cpp.includePaths: [
".",
"..",
cpp.includePaths: base.concat([
"generichighlighter",
"tooltip",
"snippets",
"codeassist",
"../../libs",
buildDirectory
]
"codeassist"
])
files: [
"TextEditor.mimetypes.xml",
@@ -290,4 +286,3 @@ QtcPlugin {
Depends { name: "Locator" }
}
}

View File

@@ -15,11 +15,6 @@ QtcPlugin {
Depends { name: "cpp" }
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
cpp.includePaths: [
"..",
"../../libs",
buildDirectory
]
files: [
"constants.h",

View File

@@ -29,12 +29,11 @@
**************************************************************************/
#include "callgrindcontroller.h"
#include "../valgrindprocess.h"
#include <QDebug>
#include <QDir>
#include <valgrindprocess.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <ssh/sftpchannel.h>

View File

@@ -31,7 +31,7 @@
#ifndef VALGRIND_CALLGRIND_CALLGRINDRUNNER_H
#define VALGRIND_CALLGRIND_CALLGRINDRUNNER_H
#include <valgrindrunner.h>
#include "../valgrindrunner.h"
#include "callgrindcontroller.h"

View File

@@ -32,9 +32,9 @@
#include "memcheckrunner.h"
#include <xmlprotocol/error.h>
#include <xmlprotocol/status.h>
#include <xmlprotocol/threadedparser.h>
#include "../xmlprotocol/error.h"
#include "../xmlprotocol/status.h"
#include "../xmlprotocol/threadedparser.h"
#include <utils/qtcassert.h>

View File

@@ -33,7 +33,7 @@
#ifndef VALGRIND_PROTOCOL_MEMCHECKRUNNER_H
#define VALGRIND_PROTOCOL_MEMCHECKRUNNER_H
#include <valgrindrunner.h>
#include "../valgrindrunner.h"
namespace Valgrind {

View File

@@ -13,15 +13,6 @@ QtcPlugin {
Depends { name: "RemoteLinux" }
Depends { name: "CPlusPlus"}
Depends { name: "cpp" }
cpp.includePaths: [
".",
"valgrind",
"..",
"../../libs",
buildDirectory
]
files: [
"callgrindcostdelegate.cpp",
"callgrindcostdelegate.h",
@@ -118,4 +109,3 @@ QtcPlugin {
"xmlprotocol/threadedparser.h",
]
}

View File

@@ -30,8 +30,8 @@
#include "checkoutjobs.h"
#include <vcsbaseplugin.h>
#include <vcsbaseoutputwindow.h>
#include "vcsbaseplugin.h"
#include "vcsbaseoutputwindow.h"
#include <QDebug>
#include <QQueue>

View File

@@ -14,14 +14,6 @@ QtcPlugin {
Depends { name: "CppTools" }
Depends { name: "CPlusPlus" }
cpp.includePaths: [
".",
"..",
"../../libs",
"../../libs/3rdparty",
buildDirectory
]
files: [
"VcsBase.mimetypes.xml",
"baseannotationhighlighter.cpp",
@@ -90,4 +82,3 @@ QtcPlugin {
"images/submit.png",
]
}

View File

@@ -10,13 +10,7 @@ QtcPlugin {
Depends { name: "ProjectExplorer" }
Depends { name: "cpp" }
cpp.includePaths: [
"..",
"../../libs",
"../../../src/shared/scriptwrapper",
"../../Core/dynamiclibrary",
buildDirectory
]
cpp.includePaths: base.concat("../../shared/scriptwrapper")
files: [
"welcome_global.h",
@@ -24,4 +18,3 @@ QtcPlugin {
"welcomeplugin.h",
]
}

View File

@@ -4,15 +4,15 @@ import "../QtcTool.qbs" as QtcTool
QtcTool {
name: "sdktool"
cpp.includePaths: [buildDirectory]
cpp.defines: base.concat([qbs.targetOS === "mac"
? 'DATA_PATH="."' : 'DATA_PATH="../share/qtcreator"'])
Depends { name: "cpp" }
Depends { name: "Qt.core" }
Depends { name: "Utils" }
Depends { name: "app_version_header" }
cpp.includePaths: "../../libs"
cpp.defines: base.concat([qbs.targetOS === "mac"
? 'DATA_PATH="."' : 'DATA_PATH="../share/qtcreator"'])
files: [
"addkeysoperation.cpp",
"addkeysoperation.h",