[Interest] dependent foo.cpp does not exist.

Thomas Sevaldrud thomas at silentwings.no
Tue May 27 16:50:48 CEST 2014


I'm getting these strange errors all the time when trying to build my
projects now... I'm using shadow building and I get these "dependent
<somefile>.cpp does not exist". In some cases the problem goes away when
deleting the entire build folder and re-configuring, but not always... I
can't see any particular pattern in these errors, other than that the file
it complaints about definitely exists in the location pointed to by the
error message. For example:

16:42:48: Running steps for project SilentToolkit...

16:42:48: Configuration unchanged, skipping qmake step.

16:42:48: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"

cd StkMeshGraphicsModel\ && ( if not exist Makefile
-spec win32-msvc2012 CONFIG+=debug CONFIG+=declarative_debug
CONFIG+=qml_debug -o Makefile ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f

C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug

Error: dependent
does not exist.

[debug] Error 2

[sub-StkMeshGraphicsModel-make_first] Error 2

16:42:48: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code

Error while building/deploying project SilentToolkit (kit: Desktop Qt 5.2.1
MSVC2012 32bit)

When executing step 'Make'

16:42:48: Elapsed time: 00:00.

It is very hard to reproduce with an isolated example. It happens on
various machines, and with various projects. All these projects include a
common qmake include file, and it's probably something stupid I've done
there, but I just wanted to ask if anybody have had similar problems, or
any helpful advice on how to debug this...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140527/de62e42c/attachment.html>

More information about the Interest mailing list