Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Im trying to run the qml maze example and its doesnt work.
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you have that application currently running ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            No. the app doesnt start at all.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Got an antivirus running ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                No i dont

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  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 ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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