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



  • 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 directoryD:/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.





  • Thanks holygirl,i finally got it running.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.