[Qt-creator] Debug problem - File not found
Eike Ziller
eike.ziller at nokia.com
Fri Jul 31 10:49:15 CEST 2009
Hi,
On Jul 31, 2009, at 8:56 AM, ext Matthias Pospiech wrote:
> 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?
Could you please try to verify this with a more recent QtCreator
version (1.2.1, or a snapshot ftp://ftp.trolltech.com/qtcreator/snapshots)
?
Thanks,
--
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone +49 (0)30 6392 3255
Fax +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com
More information about the Qt-creator-old
mailing list