Im trying to run the qml maze example and its doesnt work.

  • Hello guys, im a new guy here, and my english is not too good, thats why im going to be short here.

    Im trying to run the qml maze example and it doesnt work, it shows me this error:

    [debug/main.o] Error 5

    Im using QT 5.1.1, QT creator 2.8.1 and compiling with mingw.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You should post the complete error backtrace, with only Error 5 we can't go very far

    Also, are you locked to Qt 5.1.1 ? Qt 5.4 is currently in Beta and the current Qt Creator is 3.2.2

  • Hi this is the complete backtrace:

    11:46:18: Running steps for project maze...
    11:46:18: Configuration unchanged, skipping qmake step.
    11:46:18: Starting: "E:\Qt\Tools\mingw48_32\bin\mingw32-make.exe"
    E:/Qt/Tools/mingw48_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'E:/Qt/5.1.1/msvc2010/examples/sensors/build-maze-Desktop_Qt_5_1_1_MinGW_32bit-Debug'
    g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\maze -I"E:\Qt\5.1.1\mingw48_32\include" -I"E:\Qt\5.1.1\mingw48_32\include\QtQuick" -I"E:\Qt\5.1.1\mingw48_32\include\QtQml" -I"E:\Qt\5.1.1\mingw48_32\include\QtNetwork" -I"E:\Qt\5.1.1\mingw48_32\include\QtGui" -I"E:\Qt\5.1.1\mingw48_32\include\QtANGLE" -I"E:\Qt\5.1.1\mingw48_32\include\QtCore" -I"debug" -I"." -I"......\mkspecs\win32-g++" -o debug\main.o ..\maze\main.cpp
    Makefile.Debug:264: recipe for target 'debug/main.o' failed
    process_begin: CreateProcess(NULL, C:/MinGW/MSYS/1.0/bin /sh.exe -c "g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\maze -I"E:\Qt\5.1.1\mingw48_32\include" -I"E:\Qt\5.1.1\mingw48_32\include\QtQuick" -I"E:\Qt\5.1.1\mingw48_32\include\QtQml" -I"E:\Qt\5.1.1\mingw48_32\include\QtNetwork" -I"E:\Qt\5.1.1\mingw48_32\include\QtGui" -I"E:\Qt\5.1.1\mingw48_32\include\QtANGLE" -I"E:\Qt\5.1.1\mingw48_32\include\QtCore" -I"debug" -I"." -I"......\mkspecs\win32-g++" -o debug\main.o ..\maze\main.cpp", ...) failed.
    make (e=5): Acceso denegado.
    mingw32-make[1]: *** [debug/main.o] Error 5
    mingw32-make[1]: Leaving directory 'E:/Qt/5.1.1/msvc2010/examples/sensors/build-maze-Desktop_Qt_5_1_1_MinGW_32bit-Debug'
    mingw32-make: *** [debug] Error 2
    makefile:34: recipe for target 'debug' failed
    11:46:20: The process "E:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project maze (kit: Desktop Qt 5.1.1 MinGW 32bit)
    When executing step 'Make'
    11:46:20: Elapsed time: 00:02.

  • Lifetime Qt Champion

    Do you have that application currently running ?

  • No. the app doesnt start at all.

  • Lifetime Qt Champion

    Got an antivirus running ?

  • No i dont

  • Lifetime Qt Champion

    Might sound silly but, did you check that you indeed have write permission in the build folder ?

    You seem to have a lot of stuff installed on your machineā€¦ How many versions of Qt and MinGW do you have installed ?

Log in to reply

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