Results 1 to 5 of 5

Thread: Qt Creator 4.7.4 - "The process could not be started"

  1. #1
    Join Date
    Oct 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt Creator 4.7.4 - "The process could not be started"

    Hi, i'm using Qt Creator 4.7.4 on Windows 7 x86 . When i create de project and build the same whith no errors everything works well (Debugging mode) but if i restart the Qt Creator and rebuild everything again and try to debug the project i have the following error "The process could not be started: The parameter is incorrect.". What can be the problem?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt Creator 4.7.4 - "The process could not be started"

    Almost anything that causes the thing that Qt Creator is trying to execute to either:
    1. not be where Qt creator is expecting it,
    2. not have some essential dependency available in order to start, or
    3. start but then crash immediately.

    For 1. and 2. you should check the Run Settings under Projects in Qt Creator.
    For 3. you should try to start the program in a debugger.

  3. #3
    Join Date
    Oct 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator 4.7.4 - "The process could not be started"

    So...i had resolved my problem just copying the following dlls to the same directory of the project's executable: QtCored4.dll and QtGuid4.dll. Although that my problem is resolved i couldn't understand why i had to do this precedure to fix the problem. Thanks by anyway.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt Creator 4.7.4 - "The process could not be started"

    You shouldn't have to. Check that the Run Settings do not cripple the environment that Qt Creator provides by default: if you override the PATH for example.

  5. #5
    Join Date
    Nov 2011
    Posts
    9
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: Qt Creator 4.7.4 - "The process could not be started"

    When you run without the debugger the enviroment it's different so the standalone binary doesn't know from where to load those dll files. When running without the debugger a qt app is trying to load dll's from the path that was started not from where qt has them.

Similar Threads

  1. "Process failed to start: " and qprocess generic errors
    By scott_hollen in forum Qt Programming
    Replies: 8
    Last Post: 22nd November 2011, 15:03
  2. Replies: 4
    Last Post: 3rd November 2011, 08:30
  3. Replies: 2
    Last Post: 27th August 2011, 12:59
  4. Qt Creator: The process could not be started!
    By AlphaWolf in forum Qt Programming
    Replies: 5
    Last Post: 24th September 2009, 03:31
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

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.