Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt3D.Renderer.RHI.Backend: Initializing RHI with OpenGL backend
Forum Updated to NodeBB v4.3 + New Features

Qt3D.Renderer.RHI.Backend: Initializing RHI with OpenGL backend

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 1 Posters 1.4k 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.
  • T Offline
    T Offline
    timob256
    wrote on 12 Aug 2021, 01:08 last edited by
    #1

    I tried an example called "Qt 3D:WireFrame QML Example". I haven't changed anything in the code, but it works with an error. How to fix the error ??

    error : Qt3D.Renderer.RHI.Backend: Initializing RHI with OpenGL backend

    Снимок экрана от 2021-08-12 03-24-07.png
    Снимок экрана от 2021-08-12 04-08-05.png

    1 Reply Last reply
    0
    • T Offline
      T Offline
      timob256
      wrote on 12 Aug 2021, 01:22 last edited by
      #2

      ubuntu 20.04 fosa
      qt 6.1.2

      1 Reply Last reply
      0
      • T Offline
        T Offline
        timob256
        wrote on 12 Aug 2021, 21:56 last edited by
        #3

        read this https://doc.qt.io/Qt-6/qt3drender-porting-to-rhi.html

        but QSG_RHI_BACKEND

        ```
        

        techniques: [
        Technique {
        graphicsApiFilter {
        api: GraphicsApiFilter.OpenGL.QSG_RHI_BACKEND
        profile: GraphicsApiFilter.CoreProfile
        majorVersion: 3
        minorVersion: 1
        }

        also results in an error

        qrc:/WireframeEffect.qml:67:17: Unable to assign [undefined] to Qt3DRender::QGraphicsApiFilter::Api
        
        1 Reply Last reply
        0
        • T Offline
          T Offline
          timob256
          wrote on 16 Aug 2021, 13:30 last edited by
          #4

          added a line

          ```
          

          qputenv("QSG_RHI_BACKEND", "opengl");

          
          
          alas, nothing worked. I also tried to open a similar project, also an error "pbr-material"
          1 Reply Last reply
          0
          • T Offline
            T Offline
            timob256
            wrote on 13 Sept 2021, 12:38 last edited by
            #5

            8505a703-bef6-4069-91d9-e077513a4e4d-изображение.png

            does not work in windows 10 :(

            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