[Qt-creator] Fwd: Qt-creator can't find the location of the executable it built

Daniel Teske daniel.teske at nokia.com
Tue May 5 15:35:51 CEST 2009


On Tuesday 05 May 2009 13:22:45 ext Mildred Ki'Lya wrote:
> Hi,
>
> I have a problem with QtCreator. When I try to start the executable,
> it can't find it. On Windows, I get:
>
>
>
> Starting C:/Project/configurator.shanti/main/debug/configurator.exe...
>
> The process could not be started!
>
>
>
> In fact, the executable is located in
> C:/Project/configurator.shanti/debug/configurator.exe. The project
> main.pro looks like:
>
> # -------------------------------------------------
> # Project created by QtCreator 2009-03-24T16:23:40
> # -------------------------------------------------
> QT += xml
> TARGET = configurator
> TEMPLATE = app
> SOURCES += main.cpp
> RESOURCES += ../resources.qrc
> debug {
>     DESTDIR=../debug
>     LIBS += -L../debug
> } else:release {
>     DESTDIR=../release
>     LIBS += -L../release
> }
> LIBS += -lcontroler -lglobalihm
> INCLUDEPATH += ..
> DEPENDPATH += ..
>
>
> I modified the DESTDIR variable because i needed the executable to be
> in the same directory as the dynamic libraries it needs.

We should parse that .pro file correctly, but I'll check what goes wrong there.

daniel



More information about the Qt-creator-old mailing list