Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED]Failed to start program. Path or permissions wrong?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Failed to start program. Path or permissions wrong?

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.2k Views 1 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    I am trying to run an example that comes with the qt system and located at "widgets/styles/styles.pro".
    When I load the project and build i get the "Failed to start program. Path or permissions wrong? " error.

    The compile output is as follows:
    09:45:08: Running build steps for project styles...
    09:45:08: Starting: "d:\programmes\qt\desktop\qt\4.8.1\mingw\bin\qmake.exe" D:\programmes\Qt\Examples\4.7\widgets\styles\styles.pro -r -spec win32-g++ "CONFIG+=declarative_debug"
    09:45:08: The process "d:\programmes\qt\desktop\qt\4.8.1\mingw\bin\qmake.exe" exited normally.
    09:45:08: Starting: "D:\programmes\Qt\mingw\bin\mingw32-make.exe"
    D:/programmes/Qt/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory D:/programmes/Qt/Examples/4.7/widgets/styles-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug' "Some of the required modules (contains(styles, motif)) are not available." "Skipped." mingw32-make.exe[1]: Leaving directory D:/programmes/Qt/Examples/4.7/widgets/styles-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug'
    09:45:09: The process "D:\programmes\Qt\mingw\bin\mingw32-make.exe" exited normally.

    and the application output is as follows:

    Failed to start program. Path or permissions wrong?
    D:\programmes\Qt\Examples\4.7\widgets\styles-build-desktop-Qt_4_8_1_for_Desktop_-MinGW__Qt_SDK__Debug\debug\styles.exe exited with code -1
    Starting D:\programmes\Qt\Examples\4.7\widgets\styles-build-desktop-Qt_4_8_1_for_Desktop
    -_MinGW__Qt_SDK__Debug\debug\styles.exe...

    Can anybody help? Thanks.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • H Offline
      H Offline
      holygirl
      wrote on last edited by
      #2

      Did you try "this":http://qt-project.org/forums/viewthread/14785 or "this":http://qt-project.org/forums/viewthread/22854?
      There are a bunch of similar questions already asked in this forum. Check if any of them give you the solution. "Here":https://www.google.co.in/#hl=en&tbo=d&q=+site:qt-project.org+Failed+to+start+program.+Path+or+permissions+wrong?&sa=X&ei=gzISUYr_Nsm8rAfbzIFw&ved=0CDkQrQIwAA&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=461f7ba26f333713&biw=1280&bih=923 is the link to all those questions.

      1 Reply Last reply
      0
      • musimbateM Offline
        musimbateM Offline
        musimbate
        wrote on last edited by
        #3

        Thanks holygirl,i finally got it running.

        Why join the navy if you can be a pirate?-Steve Jobs

        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