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

qt3d examples require rhi plugin on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.2.2
    • 6.0.0 Beta3
    • Qt3D
    • Android
    • 2021wk50POAndroid&Mobile, 2022wk02FOAndroid&Automotive, 2022wk04FOAndroid&Automotive

      When running some qt3d examples like planets-qml (qt3d build from Conan), the app fails to find the rhi renderer and crashes

      Abort message: 'Unable to find renderer plugin for rhi

      A workaround is to explicitly set the renderer to opengl

      qputenv("QT3D_RENDERER", "opengl");
      

      Now, I'm not sure if the rhi renderer is not supported on Android, or whether qt3d build needs some extra flags for it to build the rhi renderer as well.

            jani-korteniemi Jani Korteniemi
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: