[Qt-creator] Working directory not adjusted when moving project
Ernst Huber
swmail01 at systest.ch
Mon Jun 22 18:51:19 CEST 2009
Hi
When moving a project to another location, i.e. moving the directory
with all the files pertaining to it including the .pro file, QtCreator
doesn't adjust the working directory as compared to the build directory
which gets adjusted to the new path correctly when opening the project
the next time from its new location. As a result building the project in
QtCreator is no problem but running the successfully built executable
fails - you won't even get a reasonable error message.
To solve the problem one has to go to the project settings, select the
"Run Settings" tab, then click on the button with the cross-icon and
select the name of the executable. This should be done for all
configurations (debug, release).
I guess if QtCreator can correct the build directory setting it should
also be able to do it for the working directory (since in most cases
these are the same).
Regards
Ernst
Platform: WinXP SP2
Qt Creator: 1.0.0
Qt 4.5.1
More information about the Qt-creator-old
mailing list