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

Qt is looking for a scenegraph folder when you set the environment variable 'QT_QUICK_BACKEND=opengl', but Qt Online Installer doesn't install the scenegraph subfolder in the plugins folder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 6.8.2
    • GUI: OpenGL
    • None
    • Windows 11, Qt Design Studio, PyCharm

    Description

      I'm sorry if this is not a bug, but I haven't been able to do anything about this.

      When you set the environment variable as 'QT_QUICK_BACKEND=opengl' to enable OpenGL rendering, Qt can't find a "scenegraph" subfolder in the "plugins" folder, and falls back to using Direct3D.

      I've tested this in Qt Design Studio, and the debug log says:

      Debug: Loading backend opengl
      Debug: checking directory path "C:/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/plugins/scenegraph" ...
      Debug: checking directory path "C:/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/bin/scenegraph" ...
      Warning: Could not create scene graph context for backend 'opengl' - check that plugins are installed correctly in C:/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/plugins 

      The problem is that Qt doesn't install a scenegraph folder in the plugins folder.

      There's also no scenegraph folder in "C:\Qt\6.8.1\msvc2022_64\plugins"

      I also did a fresh install of PySide6 in a virtual environment, and it's the same issue:

      [DEBUG] checking directory path "C:/Users/gusta/OneDrive/Dokumentai/PyCharmProjects/Medieval/.venv/Lib/site-packages/PySide6/plugins/scenegraph" ...
       [DEBUG] checking directory path "C:/Users/gusta/AppData/Local/Programs/Python/Python312/scenegraph" ...
       [WARNING] Could not create scene graph context for backend 'opengl' - check that plugins are installed correctly in C:/Users/gusta/OneDrive/Dokumentai/PyCharmProjects/Medieval/.venv/Lib/site-
      packages/PySide6/plugins
      
      
      
      

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            mizmis dfx dsf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes