[Development] Future of Qt Quick 1 in Qt 5

Kevin Kofler kevin.kofler at chello.at
Sun May 10 16:54:17 CEST 2015


Thiago A. CorrĂȘa wrote:
> IMHO you should not use Qt Quick 2D Renderer as an argument unless it were
> available in the open source package, but you could argue that there is
> mesa software render support in 5.5. What's the difference between the 2?
> 
> export QMLSCENE_DEVICE=softwarecontext
> and
> export QT_OPENGL=software

QT_OPENGL=software is actually part of this Windows-only feature added in Qt
5.4:
http://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/
This environment variable will NOT work on other operating systems.

On X11, forcing software rendering has been supported since 5.3 by setting
the QT_XCB_FORCE_SOFTWARE_OPENGL environment variable. (If other backends
use qglxconvenience.cpp, that feature should also be working there, though
the naming is then a bit off for them.) This works by setting
LIBGL_ALWAYS_SOFTWARE when initializing the Mesa libGL (i.e., it is
equivalent to having LIBGL_ALWAYS_SOFTWARE set for Qt applications only).

Other platforms may or may not have a way to force software OpenGL
rendering.

        Kevin Kofler




More information about the Development mailing list