Marc Mutz wrote: > Tests are presumably easy. If everything else fails, QtTest could execute > itself anew for each test. After a quick scan, the only thing I'm worried > about in QtBase is qglxconvenience.cpp, which temporarily modifies the > environment.
That would be my code. The environment is only modified if QT_XCB_FORCE_SOFTWARE_OPENGL is set, a workaround for old OpenGL-1.x-only drivers. I simply do not know a better way to force Mesa's libGL to use software rendering in Qt applications without making it global for all applications. There is no environment changing (and thus no race) in the common case where the workaround environment variable QT_XCB_FORCE_SOFTWARE_OPENGL is not set. Kevin Kofler _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development