diff options
author | Christian Kandeler <[email protected]> | 2013-08-29 16:36:42 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2013-09-02 17:28:17 +0200 |
commit | 72d173829caffb82b76e5ce03dbf6e6abda32cb0 (patch) | |
tree | 31f880f4ac1fb33e5347851d44e7f999225295eb /src/tools/qtcdebugger | |
parent | 7c4d0d3bf32e3861254394864aa686ee89d91aea (diff) |
Remove superfluous include paths from project files.
A lot of our build system files specify unneeded include
paths. These roughly fall into the following categories:
a) Paths that are already set in more general files
such as qtcreator.pri.
b) Paths that serve no purpose at all, possibly
left over from earlier versions of the project.
c) Paths that act as workarounds for wrong include
statements of the form '#include "xyz.h"', where
xyz.h is not in the same directory as the including
file.
This patch removes such path specifications and fixes the offending
include statements from case c).
Tested on Linux, Windows and OSX with qmake and qbs.
Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
Reviewed-by: Oswald Buddenhagen <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'src/tools/qtcdebugger')
-rw-r--r-- | src/tools/qtcdebugger/main.cpp | 2 | ||||
-rw-r--r-- | src/tools/qtcdebugger/qtcdebugger.qbs | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/tools/qtcdebugger/main.cpp b/src/tools/qtcdebugger/main.cpp index 23ea477ba59..5123ce9fb31 100644 --- a/src/tools/qtcdebugger/main.cpp +++ b/src/tools/qtcdebugger/main.cpp @@ -45,7 +45,7 @@ #include <QProcess> #include <QPushButton> -#include "registryaccess.h" +#include <registryaccess.h> #include <windows.h> #include <psapi.h> diff --git a/src/tools/qtcdebugger/qtcdebugger.qbs b/src/tools/qtcdebugger/qtcdebugger.qbs index 46990a36b65..284ad71118e 100644 --- a/src/tools/qtcdebugger/qtcdebugger.qbs +++ b/src/tools/qtcdebugger/qtcdebugger.qbs @@ -5,10 +5,7 @@ QtcTool { name: "qtcdebugger" condition: qbs.targetOS.contains("windows") - cpp.includePaths: [ - buildDirectory, - "../../shared/registryaccess" - ] + cpp.includePaths: base.concat(["../../shared/registryaccess"]) cpp.dynamicLibraries: [ "psapi", "advapi32" |