Results 1 to 4 of 4

Thread: Error running sample - wrong path for pythongdb

  1. #1
    Join Date
    Jul 2009
    Posts
    74
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question 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

  2. #2
    Join Date
    Jul 2009
    Posts
    74
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Error running sample - wrong path for pythongdb

    Solution: Leftover paths with -rc1 in qtcreator.ini

  3. #3
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error running sample - wrong path for pythongdb

    Quote Originally Posted by Asperamanca View Post
    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
    Last edited by baluk; 5th October 2010 at 11:54.

  4. #4
    Join Date
    Jul 2009
    Posts
    74
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default 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).

Similar Threads

  1. Replies: 5
    Last Post: 20th August 2010, 12:44
  2. Replies: 1
    Last Post: 17th January 2010, 07:36
  3. Compilation error with MSVC: Wrong MOC version
    By vuakko in forum Qt Programming
    Replies: 3
    Last Post: 26th June 2009, 09:59
  4. Syntax Highlighter sample is wrong
    By kib2 in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2007, 21:24
  5. SIGNALS error....what's wrong?
    By nupul in forum Qt Programming
    Replies: 6
    Last Post: 5th May 2006, 11:53

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.