Target release/test.obj doesn't exist.
-
Hallo all,
From one minute to the next I got a compiling problem with the QtCreator:
My main projekt has some subprojects (*.pri). If I open a file of one special subprojet in the editor I cannot compile this file via
Menu: Build -> Build file test.cpp (respectively I use the corrosponding hotkey)
I get the error: target release/test.obj doesn't exist.For files in other subprojekt it works.
If I select the file in the subproject tree (left side bar) and choose in the context menu "build" it works.
Build all works too.Only the compiling via hot, what I use very often for syntax check, works not.
I have cleared the output dir incl. make file many time, but nothing helps.
Remove subprojekt and add it again helps not.Has anyone an idea what can be the error ?
-
Can you share the root .pro file and the .pri file of the subproject containing test.cpp?
-
Can you share the root .pro file and the .pri file of the subproject containing test.cpp?
@Axel-Spoerl said in Target release/test.obj doesn't exist.:
Can you share the root .pro file and the .pri file of the subproject containing test.cpp?
Thank you for your answer.
Meanwhile the problem has dissapeared with the following steps:I have an other project in my project panel, which has the same subproject integrated. Once I cleared this project, I could compile the file in the first project. Very strange!
Any ideas what happed? -
Well, could be interferences between the builds of both projects.
The error message indicates that a target expected to exist for linking, but it does not exist.
Without the *.pro, *.pri files and compile kit screenshots - it's poking in the fog.