Dependent (that clearly exists) does not exist error when building Qt Creator project
-
Unfortunately I wasn't able to fix it @Cosmin124
-
Are other files from the same directory being included from this dir?
$$PWD/../../../GBusArtifact/Debug/interface/include/routercontroller/routercontroller_fw \
Have you tried doing an explicit include:
HEADERS += <absolute path> or HEADERS += <relative path>
Are there symbolic links in the path that could be screwing stuff up?
-
this might help:
add the following to .pro fileQMAKE_PROJECT_DEPTH = 0
this will make all Makefile includes to absolute paths
-
this might help:
add the following to .pro fileQMAKE_PROJECT_DEPTH = 0
this will make all Makefile includes to absolute paths
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
-
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
@leon_t
It worked for me, thank you!
Bill -
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
@leon_t said in Dependent (that clearly exists) does not exist error when building Qt Creator project:
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
Worked.
-
this might help:
add the following to .pro fileQMAKE_PROJECT_DEPTH = 0
this will make all Makefile includes to absolute paths
@saurabhjadhav1911 thanks~
-
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
@leon_t Amazing! It works! Why?
-
this might help:
add the following to .pro fileQMAKE_PROJECT_DEPTH = 0
this will make all Makefile includes to absolute paths
@saurabhjadhav1911 It works for me!!! Thanks a lot
-
this might help:
add the following to .pro fileQMAKE_PROJECT_DEPTH = 0
this will make all Makefile includes to absolute paths
@saurabhjadhav1911 Amazing! It works. Thank you very much!! But why?