Have you tried to delete *.pro.user file (this one generated automatically by QtCreator for storing it's configuration for the project)? QtCreator may try to reference files from old .pro.user file, probably moved by you to another location.
Have you tried to delete *.pro.user file (this one generated automatically by QtCreator for storing it's configuration for the project)? QtCreator may try to reference files from old .pro.user file, probably moved by you to another location.
I have the same problem when I upgrade QT creator from Qt0.9 to Qt1.2
Did you find a solution?
if I try to run from the GUI (of Qtcreator) I got "The process could not be started!" this is because the exe file is in the directory /debug and it is calling it in /release.
If after the build I move the file manually. it is then working.
But this mean I have to move the file every time.
I tried to add this to the .pro but no effect:
Qt Code:
debug { DESTDIR=./debug LIBS += -L./debug } else:release { DESTDIR=./release LIBS += -L./release }To copy to clipboard, switch view to plain text mode
Can anybody help??
Thanks
Have you tried going into Projects mode, going into the Run Settings tab, and then on the Run Configuration clicking the "+" button and selecting your executable there? This seemed to resolve the problem for me.
~codeslicer
Action (11th August 2011), ensky_cy (25th November 2009), nomadscarecrow (28th April 2010)
I managed to fix it by:
erase all make files and debug files and also the .pro file (I had to save the configuration of this .pro) also the ".project"
well i erase almost everything except my ".cpp" and .h" files
then
Use command line : "qmake -project" to recreate the .pro file
and rebuild everthing inside qt creator
which remade all make file and other stuff.
and it is working now. and it is now calling the right directory /debug for the .exe
Thanks for the hint codeslicer. I was also having the same problem since upgrading to 1.2.
I wonder why Qt Creator can't find the output exe now...
Bookmarks