[Qt-creator] Debug problem - File not found

Matthias Pospiech matthias.pospiech at gmx.de
Fri Jul 31 08:56:22 CEST 2009


Hendrik Thering schrieb:
> Hi,
> when i want to debug my project i get an error message, that the
> exe-file cannot be opened. In this message-box it tells me, that the
> file d:\project\debug\project.exe could not be found.
> The problem obviously is, that i have changed the target directories in
> the project.pro file via
>
> BIN_DIR = bin
>
> COMPILER = mingw
>
>
> debug:DESTDIR = $${BIN_DIR}/$${COMPILER}/debug/
>
> release:DESTDIR = $${BIN_DIR}/$${COMPILER}/release/
>
>
> to d:\project\bin\mingw\debug\project.exe. When i start this file
> manually, everything works quite fine, but i cannot use the debugger to
> check the contents of my variables while the programm is running.
>
>   
I have the same problem, using QtCreator 1.1.
I could work around it by defining a new project run configuration.

But it is still highly confusing - why is QtCreator not using the pro 
file settings but instead hardcoded settings for the executable and 
working directory?

Matthias




More information about the Qt-creator-old mailing list