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