Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
6.8.2
-
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