[Qt-creator] Debug problem - File not found

Hendrik Thering h.thering at googlemail.com
Thu Jul 30 09:47:32 CEST 2009


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.


My Question is, how can i change the settings of QtCreator in a way,
that it does not look in the default directory for the debug output, but
does look in the project-specific directories. I could neither find
something like that in the settings dialog nor a solution to it via google.

Hendrik



More information about the Qt-creator-old mailing list