Results 1 to 4 of 4

Thread: Problem while trying to build and run in QtCreator

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Problem while trying to build and run in QtCreator

    Hello!

    Since I changed my QtCreator to the last one avaliable to be donwloaded, I found some problems while configuring QtCreator to build and run my projects.

    To be more specific, if I build my software in Debug mode, I can only run it from QtCreator by normal "Run"; if I try to do it by the debugger, I get the message "Unexpected GDB Exit - The gdb process terminated.". And if I compile my software in Release mode, I can only run it with the debugger; if I try to do it only with Run, the app is not initialized and I get the message "Failed to start program. Path or permissions wrong?".

    I know that this has something to do with my configuration in the Projects zone, but I simply can't find out what is wrong in it. I also went to the Build & Run section in the Options window to manage the Kits, Qt Versions, Compilers and CMake and found nothing wrong there.


    Glad for any help,

    Momergil

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Problem while trying to build and run in QtCreator

    A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.

  3. The following user says thank you to Lykurg for this useful post:

    Momergil (12th May 2013)

  4. #3
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem while trying to build and run in QtCreator

    Quote Originally Posted by Lykurg View Post
    A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.
    Well, almost that! I was able to run the debugger with the app in debug compilation, but when trying to 'run' the release compilation, the same "Failed to start program. Path or permissions wrong?" appears.

  5. #4
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem while trying to build and run in QtCreator

    Quote Originally Posted by Lykurg View Post
    A shot in the dark: have you deleted the old *.pro.user? Maybe there are some settings which conflict with the new version.
    Well, I happend the find the same problem now with another project and this time deleting the .pro.user didn't help.

Similar Threads

  1. Qt Creator How to build QtCreator with mingw?
    By FinderCheng in forum Qt Tools
    Replies: 0
    Last Post: 28th August 2011, 01:41
  2. Qt Creator How to build ITALC in QTCreator.
    By Con Nít in forum Qt Tools
    Replies: 3
    Last Post: 19th January 2011, 10:36
  3. After build QTcreator with mingw32, what more must I do ?
    By tonnot in forum Installation and Deployment
    Replies: 17
    Last Post: 23rd November 2010, 16:11
  4. Build QTCreator boost::filesystem
    By nhs_0702 in forum Newbie
    Replies: 5
    Last Post: 1st April 2010, 07:46

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.