[Qt-creator] Executable not found
Axel Jäger
axel.jaeger at basyskom.de
Fri Feb 13 11:19:24 CET 2009
I see the same problem here: It says "Starting..." and nothing else
happens. When I try a debug, I also get the dialog that asks for the
binary. However because I use a mac I thought QtCreator had a problem
with the executable beeing somewhere deep inside the bundle hierarchy.
But now I observed that the suggested path in the dialog asking for
the exe is the path to the directory of the exe and not the path to
the exe itself. Read: Filename of exe is missing.
Axel
Am 12.02.2009 um 23:54 schrieb Matthias Pospiech:
> 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
>
>
>
> <QtHeideConsole.zip>_______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list