Error running sample - wrong path for pythongdb
Hi all,
I have newly installed Qt SDK 2010.05
When I start up Creator, and try to run the "Diagramscene" sample, I get an error
"Unable to start GDB "E:\Qt\2010.05-rc1\pythongdb\gdb-i686-pc-mingw32.exe": Process failed to start: No such file or directory"
The error message is correct - my install path is "E:\Qt\2010.05", not "E:\Qt\2010.05-rc1"
I had the rc1 previously installed. So I uninstalled 2010.05, tried to find leftover registry entries and environment variables and re-installed 2010.05. Same problem.
I also did a search through registry, environment variables and the whole \2010.05 folder for an occurrence of "2010.05-rc1" that I could correct manually - no luck.
Where can I correct the wrong path to mingw? The "tool chain" option in the build environment is grayed out, and set to MinGW.
Many thanks!
Robert
Re: Error running sample - wrong path for pythongdb
Solution: Leftover paths with -rc1 in qtcreator.ini
Re: Error running sample - wrong path for pythongdb
Quote:
Originally Posted by
Asperamanca
Solution: Leftover paths with -rc1 in qtcreator.ini
Hi can you explain a bit in detail how to solve this. I have the same problem too. It is giving me the error that says "Unable to start gdb: C:\NokiaQtSDK/Pythongdb/ ...." Actually I have uninstalled the Qt from NokiaQtSDK folder and installed the Qt again in the other folder. Can you please guide me where should I change the path that is read by Qt creator.I am very new to Qt development. I found the qtcreator.ini file but it ihas everything correct (pointing to new folder path).
Thank You,
Baluk
Re: Error running sample - wrong path for pythongdb
It seems that even after the uninstall, qtcreator.ini remains somewhere in the user-specific data (e.g. in Windows in C:\Users\%UserName%\AppData\Roaming\Nokia or a similar path). I guess you can either delete the ini-File before re-installing (thereby losing all settings), or you can manually correct all the wrong paths with a text editor (which is what I did).