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.exe1: 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.exe1: 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.
↧