diff --git a/qtcreator.pri b/qtcreator.pri
index c80fe934d89bb511366bba0627c0beedeba9e8ba..0d89a74624b69ddfa95a8e0fb8f175b04dad00e1 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -127,10 +127,7 @@ INCLUDEPATH += \
     $$IDE_SOURCE_TREE/tools \
     $$IDE_SOURCE_TREE/src/plugins
 
-DEPENDPATH += \
-    $$IDE_SOURCE_TREE/src/libs \
-    $$IDE_SOURCE_TREE/tools \
-    $$IDE_SOURCE_TREE/src/plugins
+CONFIG += depend_includepath
 
 LIBS += -L$$IDE_LIBRARY_PATH
 
diff --git a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-src.pri b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-src.pri
index 570cba1da97052e70779fb153c60583fbd190f9f..49e2da8ff7e35694d6e54e7140bc4b23c11f8ee0 100644
--- a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-src.pri
+++ b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-src.pri
@@ -1,5 +1,4 @@
 INCLUDEPATH += $$PWD/include
-DEPENDPATH += $$PWD $$PWD/include editor $$PWD/qt-private
 
 include($$PWD/protocol/protocol.pri)
 
diff --git a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger.pri b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger.pri
index 5743fca3ace4e04d9870a396f602c7a6029d88dd..75bcdc56b6cc793731a934f87ef5132829e57464 100644
--- a/share/qtcreator/qml/qmljsdebugger/qmljsdebugger.pri
+++ b/share/qtcreator/qml/qmljsdebugger/qmljsdebugger.pri
@@ -2,7 +2,6 @@
 # It enables debugging of Qt Quick applications
 
 INCLUDEPATH += $$PWD/include
-DEPENDPATH += $PPWD/include
 QT += declarative script
 
 LIBS *= -l$$qtLibraryName(QmlJSDebugger)
diff --git a/src/libs/cplusplus/cplusplus.pri b/src/libs/cplusplus/cplusplus.pri
index 85cb9720954b37ed03cc0a0570e375986c76ca4e..8b49cd3d0e296715280599843e90814e697f3ebe 100644
--- a/src/libs/cplusplus/cplusplus.pri
+++ b/src/libs/cplusplus/cplusplus.pri
@@ -1,5 +1,3 @@
 INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
-DEPENDPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
 INCLUDEPATH += $$IDE_SOURCE_TREE/src/libs/cplusplus
-DEPENDPATH += $$IDE_SOURCE_TREE/src/libs/cplusplus
 LIBS *= -l$$qtLibraryName(CPlusPlus)
diff --git a/src/libs/glsl/glsl.pri b/src/libs/glsl/glsl.pri
index 112d313ae6829ce94b982c12cee7e643f5126b6d..3ff20ace08988e032eabe81546f1e4a413f3eb3e 100644
--- a/src/libs/glsl/glsl.pri
+++ b/src/libs/glsl/glsl.pri
@@ -1,6 +1,7 @@
-INCLUDEPATH += $$PWD/../../shared
-INCLUDEPATH += $$PWD/../../shared/glsl $$PWD/../../shared/glsl/parser
+INCLUDEPATH += \
+    $$PWD/../../shared \
+    $$PWD/../../shared/glsl \
+    $$PWD/../../shared/glsl/parser
 
-DEPENDPATH += $$PWD/../../shared/glsl $$PWD/../../shared/glsl/parser
 LIBS *= -l$$qtLibraryName(GLSL)
 DEFINES += QT_CREATOR
diff --git a/src/libs/languageutils/languageutils-lib.pri b/src/libs/languageutils/languageutils-lib.pri
index 59e3b6a42fc1b39879abd773a9110514f8d88389..6eaa31581490424796f0082c5fa21270b431507b 100644
--- a/src/libs/languageutils/languageutils-lib.pri
+++ b/src/libs/languageutils/languageutils-lib.pri
@@ -4,7 +4,6 @@ contains(CONFIG, dll) {
     DEFINES += LANGUAGEUTILS_BUILD_STATIC_LIB
 }
 
-DEPENDPATH += $$PWD
 INCLUDEPATH += $$PWD/..
 
 HEADERS += \
diff --git a/src/libs/qmleditorwidgets/qmleditorwidgets-lib.pri b/src/libs/qmleditorwidgets/qmleditorwidgets-lib.pri
index 942e9eeb4c5ff5c3df83f54e6f7cff918a38887d..1faa8eec8038f66ff8f84277cbb695baf0426634 100644
--- a/src/libs/qmleditorwidgets/qmleditorwidgets-lib.pri
+++ b/src/libs/qmleditorwidgets/qmleditorwidgets-lib.pri
@@ -1,6 +1,5 @@
 QT += declarative script
 INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
 
 contains(CONFIG, dll) {
     DEFINES += BUILD_QMLEDITORWIDGETS_LIB
diff --git a/src/libs/qmleditorwidgets/qmleditorwidgets.pri b/src/libs/qmleditorwidgets/qmleditorwidgets.pri
index 72520ed980965bb74088ccc31ed9d37001ca0aa4..55a4c3da0ad6196f08182d853a2590cd2eb01e04 100644
--- a/src/libs/qmleditorwidgets/qmleditorwidgets.pri
+++ b/src/libs/qmleditorwidgets/qmleditorwidgets.pri
@@ -1,5 +1,4 @@
 INCLUDEPATH += $$PWD $$PWD/easingpane
-DEPENDPATH += $$PWD $$PWD/easingpane
 QT += declarative
 
 LIBS *= -l$$qtLibraryName(QmlEditorWidgets)
diff --git a/src/libs/qmljs/qmljs-lib.pri b/src/libs/qmljs/qmljs-lib.pri
index 7bd069c63ac82c5ef22a3362e18d873650e387f1..9c5b7eec9e20a0f7b094931cd71e033209caa02f 100644
--- a/src/libs/qmljs/qmljs-lib.pri
+++ b/src/libs/qmljs/qmljs-lib.pri
@@ -6,7 +6,6 @@ contains(CONFIG, dll) {
 
 include(parser/parser.pri)
 
-DEPENDPATH += $$PWD
 INCLUDEPATH += $$PWD/..
 
 HEADERS += \
diff --git a/src/libs/qmljs/qmljs.pri b/src/libs/qmljs/qmljs.pri
index af334ef81f3e46ac3b81bdae633df852450f5d4b..20d20c513daaf9e1071a03e78216969c8737010b 100644
--- a/src/libs/qmljs/qmljs.pri
+++ b/src/libs/qmljs/qmljs.pri
@@ -1,6 +1,7 @@
-INCLUDEPATH += $$PWD/../../shared
-INCLUDEPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
+INCLUDEPATH += \
+    $$PWD/../../shared \
+    $$PWD/../../shared/qmljs \
+    $$PWD/../../shared/qmljs/parser
 
-DEPENDPATH += $$PWD/../../shared/qmljs $$PWD/../../shared/qmljs/parser
 LIBS *= -l$$qtLibraryName(QmlJS)
 DEFINES += QT_CREATOR
diff --git a/src/libs/symbianutils/symbianutils.pri b/src/libs/symbianutils/symbianutils.pri
index c90d4da432bf95995935ead895711259cc9e04fc..978aabebdb4729f4384bb37dc24a6b24efd1858b 100644
--- a/src/libs/symbianutils/symbianutils.pri
+++ b/src/libs/symbianutils/symbianutils.pri
@@ -1,3 +1,2 @@
 INCLUDEPATH *= $$PWD/../../shared/symbianutils
-DEPENDPATH += $$PWD/../../shared/symbianutils
 LIBS *= -l$$qtLibraryName(symbianutils)
diff --git a/src/plugins/analyzerbase/analyzerbase.pri b/src/plugins/analyzerbase/analyzerbase.pri
index 7d37bb401d55d2da7c3725f1f2b3ffc13e58e3b3..82780bd242aec8aefe5cd370c168dbf6eaf06b54 100644
--- a/src/plugins/analyzerbase/analyzerbase.pri
+++ b/src/plugins/analyzerbase/analyzerbase.pri
@@ -1,5 +1,4 @@
 include(analyzerbase_dependencies.pri)
 
 INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
 LIBS *= -l$$qtLibraryName(AnalyzerBase)
diff --git a/src/plugins/coreplugin/coreplugin.pri b/src/plugins/coreplugin/coreplugin.pri
index 7db79341c322ce9f1a306c0c26d82ba665283533..92714693c1c89b57ff5b5ca0c0122516a12ae307 100644
--- a/src/plugins/coreplugin/coreplugin.pri
+++ b/src/plugins/coreplugin/coreplugin.pri
@@ -2,4 +2,3 @@ include(coreplugin_dependencies.pri)
 LIBS *= -l$$qtLibraryName(Core)
 # for ide_version.h
 INCLUDEPATH *= $$IDE_BUILD_TREE/src/plugins/coreplugin
-DEPENDPATH *= $$IDE_BUILD_TREE/src/plugins/coreplugin
diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro
index c25dcb3c4366556c8b489d327e0cc681f2068d0d..63a4a52aba73d170004ecdd6b3c599af5429f3f7 100644
--- a/src/plugins/coreplugin/coreplugin.pro
+++ b/src/plugins/coreplugin/coreplugin.pro
@@ -16,10 +16,6 @@ INCLUDEPATH += dialogs \
     editormanager \
     progressmanager \
     scriptmanager
-DEPENDPATH += dialogs \
-    actionmanager \
-    editormanager \
-    scriptmanager
 SOURCES += mainwindow.cpp \
     editmode.cpp \
     tabpositionindicator.cpp \
diff --git a/src/plugins/debugger/cdb/cdb.pri b/src/plugins/debugger/cdb/cdb.pri
index 2801ddd0968e9f019aeb6169d32474b12d224de8..8a62bd5e6d33a6e205cdcee716d7816904ba2209 100644
--- a/src/plugins/debugger/cdb/cdb.pri
+++ b/src/plugins/debugger/cdb/cdb.pri
@@ -13,4 +13,3 @@ SOURCES += $$PWD/cdbengine.cpp \
 FORMS += cdb/cdboptionspagewidget.ui
 
 INCLUDEPATH*=$$PWD
-DEPENDPATH*=$$PWD
diff --git a/src/plugins/debugger/debugger.pri b/src/plugins/debugger/debugger.pri
index d2df959e568ee19deacc00d00ecd2dff51856516..357158b002c63eb98f7854e177d0cc52c69efc26 100644
--- a/src/plugins/debugger/debugger.pri
+++ b/src/plugins/debugger/debugger.pri
@@ -1,5 +1,4 @@
 include(debugger_dependencies.pri)
 
 INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
 LIBS *= -l$$qtLibraryName(Debugger)
diff --git a/src/plugins/designer/cpp/cpp.pri b/src/plugins/designer/cpp/cpp.pri
index 2df8138f6383effe0b0abd1cfc7337a2760ad1e3..a30a79402287dc3ed2584fe1b080e0d9811d073c 100644
--- a/src/plugins/designer/cpp/cpp.pri
+++ b/src/plugins/designer/cpp/cpp.pri
@@ -1,5 +1,4 @@
 INCLUDEPATH+=$$PWD
-DEPENDPATH+=$$PWD
 
 DEFINES+=CPP_ENABLED
 
diff --git a/src/plugins/git/gitorious/gitorious.pri b/src/plugins/git/gitorious/gitorious.pri
index d10e09c15bc95264789baa32ee4c15ec045bd408..8678042a26276c4f31393af41f31e926c7a2a9d7 100644
--- a/src/plugins/git/gitorious/gitorious.pri
+++ b/src/plugins/git/gitorious/gitorious.pri
@@ -1,6 +1,5 @@
 QT += network
 INCLUDEPATH+=$$PWD
-DEPENDPATH+=$$PWD
 
 HEADERS += $$PWD/gitoriousclonewizard.h \
            $$PWD/gitorioushostwizardpage.h \
diff --git a/src/plugins/memcheck/memcheck.pri b/src/plugins/memcheck/memcheck.pri
index 85b4382fbd5b9f311eaa12469175a73a6c40a5f5..9224189ba273f665382d8e7dfc213388c4ec3584 100644
--- a/src/plugins/memcheck/memcheck.pri
+++ b/src/plugins/memcheck/memcheck.pri
@@ -1,5 +1,4 @@
 include(memcheck_dependencies.pri)
 
 INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
 LIBS *= -l$$qtLibraryName(Memcheck)
diff --git a/src/plugins/qmldesigner/designercore/depend_paths.pri b/src/plugins/qmldesigner/designercore/depend_paths.pri
deleted file mode 100644
index c2059ccbec58aa668f65f3942c9f99a74947af56..0000000000000000000000000000000000000000
--- a/src/plugins/qmldesigner/designercore/depend_paths.pri
+++ /dev/null
@@ -1 +0,0 @@
-DEPENDPATH += $$PWD/qtpropertybrowser/src/
\ No newline at end of file
diff --git a/src/plugins/qmldesigner/designercore/designercore.pri b/src/plugins/qmldesigner/designercore/designercore.pri
index 7ff4acf12500f8f48b2b36b83511b1aef14662eb..17f5e8d2353211efd55e12ca0caf13e7cfa899dc 100644
--- a/src/plugins/qmldesigner/designercore/designercore.pri
+++ b/src/plugins/qmldesigner/designercore/designercore.pri
@@ -7,7 +7,6 @@ QT += script \
 DEFINES += TEST_EXPORTS
 INCLUDEPATH += $$PWD \
     $$PWD/include
-DEPENDPATH += $$PWD $$PWD/include
 SOURCES += $$PWD/model/abstractview.cpp \
     $$PWD/instances/nodeinstanceview.cpp \
     $$PWD/model/rewriterview.cpp \
diff --git a/src/plugins/qmljstools/qmljstools-lib.pri b/src/plugins/qmljstools/qmljstools-lib.pri
index 14e1c763de067836e96c73f0cbcc7aa3698c1190..6c622dba074e67a663ccec431698e32e2107a978 100644
--- a/src/plugins/qmljstools/qmljstools-lib.pri
+++ b/src/plugins/qmljstools/qmljstools-lib.pri
@@ -2,7 +2,6 @@
     DEFINES += QMLJSTOOLS_STATIC
 }
 
-DEPENDPATH += $$PWD
 INCLUDEPATH += $$PWD/..
 
 HEADERS += \
diff --git a/src/plugins/qmljstools/qmljstools.pri b/src/plugins/qmljstools/qmljstools.pri
index 196d757a1470ee343fbf672bcfa635536d3aacb3..5b1a7b957cc0ee03d5aa23ac1515f306356aee27 100644
--- a/src/plugins/qmljstools/qmljstools.pri
+++ b/src/plugins/qmljstools/qmljstools.pri
@@ -1,6 +1,5 @@
 include(qmljstools_dependencies.pri)
 
-DEPENDPATH += $$PWD
 INCLUDEPATH += $$PWD/..
 
 LIBS *= -l$$qtLibraryName(QmlJSTools)
diff --git a/src/plugins/qt4projectmanager/customwidgetwizard/customwidgetwizard.pri b/src/plugins/qt4projectmanager/customwidgetwizard/customwidgetwizard.pri
index 2494093aeb7ef1b36b1b796e25580092dacef4e7..488f9c30fb3a41e86375477745dd5a521c60774b 100644
--- a/src/plugins/qt4projectmanager/customwidgetwizard/customwidgetwizard.pri
+++ b/src/plugins/qt4projectmanager/customwidgetwizard/customwidgetwizard.pri
@@ -1,5 +1,4 @@
 INCLUDEPATH *= $$PWD
-DEPENDPATH *= $$PWD
 SOURCES += \
  $$PWD/plugingenerator.cpp \
  $$PWD/classlist.cpp \
diff --git a/src/plugins/texteditor/texteditor.pro b/src/plugins/texteditor/texteditor.pro
index 7b42317bbb7b5ee493a8d5bd40b117f162fb75c0..51558f8ed246ef02253bd9e14cea808e8e7db2b4 100644
--- a/src/plugins/texteditor/texteditor.pro
+++ b/src/plugins/texteditor/texteditor.pro
@@ -7,9 +7,6 @@ include(texteditor_dependencies.pri)
 INCLUDEPATH += generichighlighter \
     tooltip \
     snippets
-DEPENDPATH += generichighlighter \
-    tooltip \
-    snippets
 SOURCES += texteditorplugin.cpp \
     textfilewizard.cpp \
     plaintexteditor.cpp \
diff --git a/src/plugins/valgrindtoolbase/valgrindtoolbase.pri b/src/plugins/valgrindtoolbase/valgrindtoolbase.pri
index 22fc88f3e3dedcc95fb9b35f7f6dfc820ea1fae5..0ffb7c37dcb56e8b0bda2159a19006c1d116c65d 100644
--- a/src/plugins/valgrindtoolbase/valgrindtoolbase.pri
+++ b/src/plugins/valgrindtoolbase/valgrindtoolbase.pri
@@ -1,5 +1,4 @@
 include(valgrindtoolbase_dependencies.pri)
 
 INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
 LIBS *= -l$$qtLibraryName(ValgrindToolBase)
diff --git a/src/private_headers.pri b/src/private_headers.pri
index 60b4788e90e956fde444eaf96182556f8f1e962d..b00401a05561a326ccf29b13ccb90e0e062f7b9d 100644
--- a/src/private_headers.pri
+++ b/src/private_headers.pri
@@ -8,10 +8,4 @@ isEmpty(QT_PRIVATE_HEADERS) {
         $${QT_PRIVATE_HEADERS}/QtGui \
         $${QT_PRIVATE_HEADERS}/QtScript \
         $${QT_PRIVATE_HEADERS}/QtDeclarative
-    DEPENDPATH += \
-        $${QT_PRIVATE_HEADERS} \
-        $${QT_PRIVATE_HEADERS}/QtCore \
-        $${QT_PRIVATE_HEADERS}/QtGui \
-        $${QT_PRIVATE_HEADERS}/QtScript \
-        $${QT_PRIVATE_HEADERS}/QtDeclarative
 }
diff --git a/src/tools/gen-cpp-ast/gen-cpp-ast.pro b/src/tools/gen-cpp-ast/gen-cpp-ast.pro
index 1831a41369aa07b49a83b51a10faf72f81f500af..e7fb63f3de48ae1e28589f15db54336f94a0a0e6 100644
--- a/src/tools/gen-cpp-ast/gen-cpp-ast.pro
+++ b/src/tools/gen-cpp-ast/gen-cpp-ast.pro
@@ -2,7 +2,6 @@ QT = core gui
 macx:CONFIG -= app_bundle
 TEMPLATE = app
 TARGET = generate-ast
-DEPENDPATH += .
 INCLUDEPATH += . ../../libs
 
 include(../../libs/cplusplus/cplusplus-lib.pri)
diff --git a/src/tools/mkvisitor/mkvisitor.pro b/src/tools/mkvisitor/mkvisitor.pro
index 3f3f7dbc6bee1acc36ea8cc0ecb3dcb41b07a97f..03c53754d27e5a28398061264922985d4ac9c5c5 100644
--- a/src/tools/mkvisitor/mkvisitor.pro
+++ b/src/tools/mkvisitor/mkvisitor.pro
@@ -1,7 +1,6 @@
 QT = core gui
 macx:CONFIG -= app_bundle
 TARGET = cplusplus0
-DEPENDPATH += .
 INCLUDEPATH += . ../../libs
 
 include(../../libs/cplusplus/cplusplus-lib.pri)
diff --git a/src/tools/qpatch/bootstrap.pri b/src/tools/qpatch/bootstrap.pri
index b3ee948487b3ea6af91d2cc11ec8dd152b4eec0c..a82caf5ff2f84ec4cf2b4a194f975e971baf9a63 100644
--- a/src/tools/qpatch/bootstrap.pri
+++ b/src/tools/qpatch/bootstrap.pri
@@ -29,13 +29,6 @@ INCLUDEPATH	+= $$QT_BUILD_TREE/include \
                    $$QT_BUILD_TREE/include/QtCore \
                    $$QT_BUILD_TREE/include/QtXml \
                    $$QT_SOURCE_TREE/src/xml
-DEPENDPATH	+= $$INCLUDEPATH \
-                   $$QT_SOURCE_TREE/src/corelib/global \
-                   $$QT_SOURCE_TREE/src/corelib/kernel \
-                   $$QT_SOURCE_TREE/src/corelib/tools \
-                   $$QT_SOURCE_TREE/src/corelib/io \
-                   $$QT_SOURCE_TREE/src/corelib/codecs \
-                   $$QT_SOURCE_TREE/src/xml
 
 hpux-acc*|hpuxi-acc* {
     LIBS += $$QT_BUILD_TREE/src/tools/bootstrap/libbootstrap.a
diff --git a/src/tools/qtlibspatcher/qtlibspatcher.pro b/src/tools/qtlibspatcher/qtlibspatcher.pro
index d5aef7fefb955ebd3ef46e79447a640299fa854d..9ef8d70434b1e7e7bfb148ea4790d0b21ae71b28 100644
--- a/src/tools/qtlibspatcher/qtlibspatcher.pro
+++ b/src/tools/qtlibspatcher/qtlibspatcher.pro
@@ -2,7 +2,6 @@ CONFIG += console
 QT -= gui
 TEMPLATE = app
 TARGET =
-DEPENDPATH += .
 INCLUDEPATH += .
 DESTDIR = .
 
diff --git a/tests/auto/externaltool/externaltool.pro b/tests/auto/externaltool/externaltool.pro
index 75544ec59750e5fd30c977114b338b1d862e3d5c..3fa493e7de49e335bc9c27404863498c9db8b690 100644
--- a/tests/auto/externaltool/externaltool.pro
+++ b/tests/auto/externaltool/externaltool.pro
@@ -4,7 +4,6 @@ include(../../../src/plugins/coreplugin/coreplugin.pri)
 LIBS *= -L$$IDE_PLUGIN_PATH/Nokia
 INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins/coreplugin
 INCLUDEPATH *= $$IDE_BUILD_TREE/src/plugins/coreplugin
-DEPENDPATH *= $$IDE_BUILD_TREE/src/plugins/coreplugin
 
 SOURCES += tst_externaltooltest.cpp \
     $$IDE_SOURCE_TREE/src/plugins/coreplugin/externaltool.cpp
diff --git a/tests/auto/qml/codemodel/basic/basic.pro b/tests/auto/qml/codemodel/basic/basic.pro
index 90072f8c6d00bb5456cd88ae28033661094ba371..32f35b0196c72734709226ab2c706f9779d16ca7 100644
--- a/tests/auto/qml/codemodel/basic/basic.pro
+++ b/tests/auto/qml/codemodel/basic/basic.pro
@@ -25,8 +25,6 @@ CONFIG += qtestlib testcase
 DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\"
 DEFINES+=QT_CREATOR QTCREATOR_TEST
 
-DEPENDPATH += .
-
 include($$IDE_SOURCE_TREE/src/libs/utils/utils.pri)
 include($$IDE_SOURCE_TREE/src/plugins/qmljstools/qmljstools.pri)
 
diff --git a/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro b/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro
index 886207cc6913415449a012ec6c224c8662eca609..521f67166371ebabbe667b69cade583602a215a1 100644
--- a/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro
+++ b/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro
@@ -4,7 +4,6 @@ CONFIG += qtestlib testcase
 
 ##DEFINES += DONT_MESS_WITH_QDEBUG
 
-DEPENDPATH += ..
 INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/include
 
 TARGET = tst_bauhaus
diff --git a/tests/auto/qml/qmldesigner/coretests/coretests.pro b/tests/auto/qml/qmldesigner/coretests/coretests.pro
index c26f30f7f6880ead009ed6803671dff18305d5a4..78445403c06e8b198eccedc891a4f1ea33835cef 100644
--- a/tests/auto/qml/qmldesigner/coretests/coretests.pro
+++ b/tests/auto/qml/qmldesigner/coretests/coretests.pro
@@ -25,8 +25,6 @@ QT += script \
 DEFINES+=QTCREATORDIR=\\\"$$IDE_BUILD_TREE\\\"
 DEFINES+=QT_CREATOR QTCREATOR_TEST
 
-DEPENDPATH += ..
-DEPENDPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore
 INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/include
 INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore