Qt Canvas 3D Logging
Canvas3D module was deprecated in Qt 5.12. Depracated modules are no longer maintained. They are provided to keep old source code working, but they can be removed in a future release. We strongly advise against using deprecated modules in new code or project.
Qt Canvas 3D makes use of Qt's categorized logging. The following categories are supported:
Category | Description |
---|---|
qt.canvas3d.info.debug | Logs on high level information about the OpenGL driver. |
qt.canvas3d.rendering.debug | Logs all the method calls in Qt Canvas 3D. |
qt.canvas3d.rendering.warning | Logs all warnings on from Qt Canvas 3D internal verifications that happen before a OpenGL method call is made to the actual graphics driver. |
qt.canvas3d.glerrors.debug | Enables logging OpenGL driver level errors after each OpenGL command issued by the application. This entails calling synchronous glGetError() after each OpenGL call, which will cause a negative performance hit. Please use only when necessary to find root causes of rendering errors. Also note that the detected OpenGL errors are actually logged as warning messages instead of debug messages. |
qt.canvas3d.glerrors.warning | Logs OpenGL driver level errors when executing synchronous OpenGL commands issued by the application. If qt.canvas3d.glerrors.debug is also enabled, logs OpenGL errors after all OpenGL calls issued by the application. |
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.