Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Failed to start program. Path or permissions wrong?
Qt 6.11 is out! See what's new in the release blog

Failed to start program. Path or permissions wrong?

Scheduled Pinned Locked Moved General and Desktop
failed start
4 Posts 3 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    inforathinam
    wrote on last edited by
    #1

    Hi,

    I am executing my application in Qt5.5.0 ...

    While starting i get the following error.

    Starting C:\Projects\Raja\My_Stuff\Qt\My_Codes\build-ECL_TSF_Updater-Desktop_Qt_5_5_0_MinGW_32bit-Release\release\TSF_Updater.exe...
    Failed to start program. Path or permissions wrong?
    C:\Projects\Raja\My_Stuff\Qt\My_Codes\build-ECL_TSF_Updater-Desktop_Qt_5_5_0_MinGW_32bit-Release\release\TSF_Updater.exe exited with code -1

    Thanks

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      @inforathinam said:

      Release

      Hi, your running a release version of your program, so did you read the deploy on Windows document? There all information is given to launch a program in release. Or do you try to run a debugger on the release version?
      The debugger uses the -d option on all Qt dll files. Make sure your compiler/debugger/kit are setup properly.

      Greetz, Jeroen

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        @Jeroentjehome why do the deployment stuff when running for Qt Creator ?

        @inforathinam Did you do any .pro file modifications before building in release ? In any case, try re-running qmake or do a full rebuild.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        JeroentjehomeJ 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          @Jeroentjehome why do the deployment stuff when running for Qt Creator ?

          @inforathinam Did you do any .pro file modifications before building in release ? In any case, try re-running qmake or do a full rebuild.

          JeroentjehomeJ Offline
          JeroentjehomeJ Offline
          Jeroentjehome
          wrote on last edited by
          #4

          @SGaist You are totally right! Running a release program is totally possible in QtCreator in the run mode. I wanted to know if the stand alone program could be run when properly deployed.

          Greetz, Jeroen

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved