Dependent (that clearly exists) does not exist error when building Qt Creator project
-
@aha_1980 That makes sense - I'll look into it, and for the record the antivirus/admin windows settings on my laptop are fairly strict because of company policies, any chance that could be causing issues?
@jacobdbernard said in Dependent (that clearly exists) does not exist error when building Qt Creator project:
and for the record the antivirus/admin windows settings on my laptop are fairly strict because of company policies, any chance that could be causing issues?
Yeah, these are always a source for fun. However, in your case I doubt it.
What you can also do is to inspect the generated Makefile. We already know it is wrong, but maybe you see why it is wrong.
Good luck!
-
Hi,
@jacobdbernard said in Dependent (that clearly exists) does not exist error when building Qt Creator project:
object_parallel_to_source
I wonder if this one might be part of the problem.
-
wrote on 2 May 2019, 20:29 last edited by
@SGaist I see what you mean looking at the documentation, but unfortunately removing that option didn't seem to make a difference.
-
wrote on 22 May 2019, 10:46 last edited by
I have the same exact error on Windows 10 with Qt 5.12.3, but not on macOS 10.14.4 with same Qt version. I did not get this error on Windows 10 with Qt 5.5.1.
I tried all the ideas above so this seems to be a bug in Qt 5.12.3 for Windows. Have you found any solution?
-
I have the same exact error on Windows 10 with Qt 5.12.3, but not on macOS 10.14.4 with same Qt version. I did not get this error on Windows 10 with Qt 5.5.1.
I tried all the ideas above so this seems to be a bug in Qt 5.12.3 for Windows. Have you found any solution?
Do you use object_parallel_to_source ?
-
Do you use object_parallel_to_source ?
-
@Cosmin124 It will be hard to help you without the actual project. At least all project files are needed.
If you want to investigate yourself, check the compile output. sometimes builds fail just because of timing, i.e. dependency is build parallel or after the project that uses the dependency.
Regards
-
wrote on 23 May 2019, 17:46 last edited by
Unfortunately I wasn't able to fix it @Cosmin124
-
wrote on 23 May 2019, 18:02 last edited by
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?
-
wrote on 22 Nov 2019, 11:33 last edited by
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
wrote on 24 Dec 2019, 06:49 last edited by@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.
wrote on 3 May 2022, 11:28 last edited by@leon_t
It worked for me, thank you!
Bill -
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
wrote on 15 Jan 2023, 10:13 last edited by@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
wrote on 11 Dec 2023, 14:11 last edited by@saurabhjadhav1911 thanks~
-
@saurabhjadhav1911 Add QMAKE_PROJECT_DEPTH = 0 to .pro file works for me, thanks very much.
wrote on 12 Dec 2024, 23:12 last edited by@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
wrote on 13 Jan 2025, 06:46 last edited by@saurabhjadhav1911 It works for me!!! Thanks a lot