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

[Scene Graph] Cannot build any example on Android where rendering is used under QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.6.0 Beta4
    • Examples and Demos
    • None
    • Android

    Description

      MacOS 13.6

      Qt Creator 11.0.3

      Device: Samsung Galaxy S9 9.0, Pixel 3a A12

      Steps to reproduce:

      1. Open any example that uses rendering under QML, e.g.:
        1. https://doc.qt.io/qt-6/qtquick-scenegraph-openglunderqml-example.html
        2. https://doc.qt.io/qt-6/qtquick-scenegraph-d3d11underqml-example.html
        3. https://doc.qt.io/qt-6/qtquick-scenegraph-metalunderqml-example.html
      2. Selet android kit and build the app.

      Expected: The app runs on the device.

      Actual: Cannot deploy the app to the device. 

      /Users/lukaszkosiorowski/Qt/Examples/Qt-6.6.0/quick/scenegraph/rhiunderqml/rhisquircle.cpp:9:10: fatal error: 'rhi/qrhi.h' file not found
      #include <rhi/qrhi.h>
               ^~~~~~~~~~~~
      1 error generated.
      ninja: build stopped: subcommand failed.
      19:31:43: The process "/Users/lukaszkosiorowski/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" exited with code 1.
      Error while building/deploying project rhiunderqml (kit: Android Qt 6.5.3 Clang arm64-v8a)
      When executing step "Build" 

      Reproducibility:  100%
       

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes