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: "cpp" }
Depends { name: "Qt.core" } Depends { name: "Qt.core" }
cpp.includePaths: '.'
cpp.dynamicLibraries: { cpp.dynamicLibraries: {
if (qbs.targetOS == "windows") { if (qbs.targetOS == "windows") {
return [ return [
@@ -65,6 +64,6 @@ QtcLibrary {
return ["-Wl,--enable-auto-import"] 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")) if (qbs.buildVariant == "release" && (qbs.toolchain == "gcc" || qbs.toolchain == "mingw"))
return ["-Wl,-s"] return ["-Wl,-s"]
} }
cpp.includePaths: [ "." ]
destination: { destination: {
if (qbs.targetOS == "windows") if (qbs.targetOS == "windows")
@@ -20,4 +21,9 @@ DynamicLibrary {
else else
return "lib/qtcreator" return "lib/qtcreator"
} }
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: [ "." ]
}
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -6,8 +6,8 @@ QtcLibrary {
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "Qt.network" } Depends { name: "Qt.network" }
cpp.includePaths: base.concat(".")
cpp.includePaths: "."
cpp.defines: base.concat("ZEROCONF_LIBRARY") cpp.defines: base.concat("ZEROCONF_LIBRARY")
Properties { Properties {
@@ -38,9 +38,4 @@ QtcLibrary {
"syssocket.h", "syssocket.h",
"zeroconf_global.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")) if (qbs.buildVariant == "release" && (qbs.toolchain == "gcc" || qbs.toolchain == "mingw"))
return ["-Wl,-s"] return ["-Wl,-s"]
} }
cpp.includePaths: [ ".", ".." ]
Group { Group {
files: [ name + ".pluginspec.in" ] files: [ name + ".pluginspec.in" ]

View File

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

View File

@@ -15,12 +15,7 @@ QtcPlugin {
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")})
cpp.includePaths: [ cpp.includePaths: base.concat("../../shared")
"..",
buildDirectory,
"../../libs",
"../../shared"
]
files: [ files: [
"addnewavddialog.ui", "addnewavddialog.ui",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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