diff --git a/src/libs/cplusplus/cplusplus.pri b/src/libs/cplusplus/cplusplus.pri
index 0b8fac85fe36a47a6a33a0c819e00548a13a984f..7554994991b3acd9972271d7722743d2094c3726 100644
--- a/src/libs/cplusplus/cplusplus.pri
+++ b/src/libs/cplusplus/cplusplus.pri
@@ -1,2 +1,3 @@
 INCLUDEPATH += $$PWD/../../shared/cplusplus
+DEPENDPATH += $$PWD/../../shared/cplusplus
 LIBS *= -l$$qtLibraryTarget(CPlusPlus)