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

[Boot2Qt][Windows] 'QQuickWidget - QQuickView Comparison Example' could not be built on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.8.0 RC
    • Examples and Demos
    • None
    • Windows

      Qt Creator 14.0.1

      Device: Raspberry Pi4 64 bit with Qt 6.8.0 RC

      Steps to reproduce:

      1. Open the example on Windows- https://doc.qt.io/qt-6/qtquick-quickwidgets-qquickwidgetversuswindow-opengl-example.html
      2. Select Boot2Qt Kit and try to build the project.

      Expected: The app is built.

      Actual: Getting error while compiling the project:

      Boot2Qt_6_8_0_Raspberry_Pi_Development_Boards_64bit-Debug/.rcc/qmlcache/qquickwidgetversuswindow_opengl_qmlcache_loader.cpp
      C:/Qt/Examples/Qt-6.8.0/quick/quickwidgets/qquickwidgetversuswindow_opengl/build/Boot2Qt_6_8_0_Raspberry_Pi_Development_Boards_64bit-Debug/.rcc/qmlcache/qquickwidgetversuswindow_opengl_qmlcache_loader.cpp:58:1: fatal error: opening dependency file CMakeFiles\qquickwidgetversuswindow_opengl.dir\432e971ac39443b9fdb8ce0f53c13ff6\qquickwidgetversuswindow_opengl_qmlcache_loader.cpp.o.d: No such file or directory
         58 | }
            | ^
      compilation terminated.
      ninja: build stopped: subcommand failed.
      19:34:24: The process "C:\Qt\6.8.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" exited with code 1.
      Error while building/deploying project qquickwidgetversuswindow_opengl (kit: Boot2Qt 6.8.0 Raspberry Pi Development Boards (64bit))
      When executing step "Build" 

      Note: This scenario works when building on Linux for Boot2Qt kit or building on windows for desktop kit.

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

            jbornema Joerg Bornemann
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes