[Qt-creator] Executable not found

Matthias Pospiech matthias.pospiech at gmx.de
Thu Feb 12 23:54:53 CET 2009


Daniel Teske schrieb:
> On Wednesday 11 February 2009 21:40:10 ext Matthias Pospiech wrote:
>   
>> As I notet in an earlier email, I changed the place where the executable
>> is placed.
>> It is now in '/bin/debug/'
>>
>> However if I want to start it, I get a dialog asking for Executable and
>> Working direcory.
>> Does QtCreator not know its place from the .pro file ?
>>     
>
> It should, but we sometimes don't get it 100% right, could you attach your 
> .pro file? And on which platform is that?
>
>   
The problem of executable no found has vanished. But now they are not 
started or crash imediately. In any way I never see any application if I 
start 'run'.
What I see is
"Starting ..."

"exited with code 0"


If I start debug (F5) I get the dialog which asks for the location of 
the external binary and gives me the path /src/ (the binary is in 
/bin/debug/).
If I enter the name it is not remembered (this I consider as a bug, 
since it is annoying), but the application starts. Or maybe not. In my 5 
line console test application it never starts but locks the file (I then 
have to kill gdb).

All applications however start from explorer and work as expected.

I appended the pro file for the console application and the whole 
project since it is very small and contains only a few lines of code.

.pro file:
QT -= gui

TARGET = QtHeideConsole

CONFIG += console

CONFIG -= app_bundle

TEMPLATE = app

SOURCES += main.cpp


This problem is really important for me. Everything else in QtCreator 
works very well.
Matthias



-------------- next part --------------
A non-text attachment was scrubbed...
Name: QtHeideConsole.zip
Type: application/octet-stream
Size: 163243 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090212/9e2a733d/attachment.obj 


More information about the Qt-creator-old mailing list