Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95406

activeqt examples fails to build, MinGW

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5: Not important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta2
    • Fix Version/s: 6.2.0 RC
    • Component/s: Active Qt
    • Labels:
    • Environment:
      Windows10 x64, MinGW8.1 x64
    • Platform/s:
      Windows
    • Commits:
      b7e91572aacfbba55c50a786caedafac1a1f139c (qt/qtactiveqt/dev) 208adb4c3be98bdd2d34ecb7e85a45051440d0fd (qt/qtactiveqt/6.2)

      Description

      Install Qt6.2.0 beta2 MinGW binaries, open Creator and the activeqt/hierarchy example. Configure and build. Configure passes, but build fails:

      08:21:03: Starting: "C:\Users\joaijala\RTA\qt5\Tools\CMake_64\bin\cmake.exe" --build C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug --target all
      [1/6 0.3/sec] Automatic MOC and UIC for target hierarchyax
      [2/6 0.6/sec] Building RC object CMakeFiles/hierarchyax.dir/hierarchy.rc.obj
      [3/6 0.5/sec] Building CXX object CMakeFiles/hierarchyax.dir/hierarchyax_autogen/mocs_compilation.cpp.obj
      [4/6 0.7/sec] Building CXX object CMakeFiles/hierarchyax.dir/objects.cpp.obj
      [5/6 0.8/sec] Building CXX object CMakeFiles/hierarchyax.dir/main.cpp.obj
      [6/6 0.7/sec] Linking CXX shared library libhierarchyax.dll
      FAILED: libhierarchyax.dll libhierarchyax.dll.a 
      cmd.exe /C "cd . && C:\Users\joaijala\RTA\qt5\Tools\mingw810_64\bin\g++.exe -g  C:\Users\joaijala\RTA\qt5\Examples\Qt-6.2.0\activeqt\hierarchy\hierarchy.def -shared -o libhierarchyax.dll -Wl,--out-implib,libhierarchyax.dll.a -Wl,--major-image-version,0,--minor-image-version,0 CMakeFiles/hierarchyax.dir/hierarchyax_autogen/mocs_compilation.cpp.obj CMakeFiles/hierarchyax.dir/main.cpp.obj CMakeFiles/hierarchyax.dir/objects.cpp.obj CMakeFiles/hierarchyax.dir/hierarchy.rc.obj  C:/Users/joaijala/RTA/qt5/6.2.0/mingw81_64/lib/libQt6AxServer.a  -lshell32  C:/Users/joaijala/RTA/qt5/6.2.0/mingw81_64/lib/libQt6AxBase.a  -ladvapi32  -lgdi32  -lole32  -loleaut32  -luser32  -luuid  C:/Users/joaijala/RTA/qt5/6.2.0/mingw81_64/lib/libQt6Widgets.a  C:/Users/joaijala/RTA/qt5/6.2.0/mingw81_64/lib/libQt6Gui.a  -ld3d11  -ldxgi  -ldxguid  C:/Users/joaijala/RTA/qt5/6.2.0/mingw81_64/lib/libQt6Core.a  -lmpr  -luserenv  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cmd.exe /C "cd /D C:\Users\joaijala\RTA\qt5\Examples\Qt-6.2.0\activeqt\build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug && C:\Users\joaijala\RTA\qt5\6.2.0\mingw81_64\bin\idc.exe C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/libhierarchyax.dll /idl C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/hierarchyaxDebug.idl -version 1.0 && midl C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/hierarchyaxDebug.idl /nologo /tlb C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/hierarchyaxDebug.tlb && C:\Users\joaijala\RTA\qt5\6.2.0\mingw81_64\bin\idc.exe C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/libhierarchyax.dll /tlb C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/hierarchyaxDebug.tlb && C:\Users\joaijala\RTA\qt5\6.2.0\mingw81_64\bin\idc.exe C:/Users/joaijala/RTA/qt5/Examples/Qt-6.2.0/activeqt/build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug/libhierarchyax.dll /regserver""
      C:\Users\joaijala\RTA\qt5\Examples\Qt-6.2.0\activeqt\build-hierarchy-Desktop_Qt_6_2_0_MinGW_64_bit-Debug\hierarchyaxDebug.idl'midl' is not recognized as an internal or external command,
      operable program or batch file.
      ninja: build stopped: subcommand failed.
      08:21:13: The process "C:\Users\joaijala\RTA\qt5\Tools\CMake_64\bin\cmake.exe" exited with code 1.
      Error while building/deploying project hierarchyax (kit: Desktop Qt 6.2.0 MinGW 64-bit)
      When executing step "Build"
      

       Reproduces also on

      activeqt/multiple

      activeqt/simpleqml

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes