mirror of https://github.com/qt/qtdoc.git
examples: Rename setPersistentOpenGLContext
Align with qtdeclarative 6f4fdce07fa2e75e09dcc90a76ea6d741fb58e74. Change-Id: I177e060c0f1a17ff807e4baeda673ebbf017c719 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
27ee95baf1
commit
754f008641
|
@ -252,7 +252,7 @@ void tst_examples::sgexamples()
|
||||||
{
|
{
|
||||||
QFETCH(QString, file);
|
QFETCH(QString, file);
|
||||||
QQuickWindow window;
|
QQuickWindow window;
|
||||||
window.setPersistentOpenGLContext(true);
|
window.setPersistentGraphics(true);
|
||||||
window.setPersistentSceneGraph(true);
|
window.setPersistentSceneGraph(true);
|
||||||
|
|
||||||
QQmlComponent component(&engine, QUrl::fromLocalFile(file));
|
QQmlComponent component(&engine, QUrl::fromLocalFile(file));
|
||||||
|
|
Loading…
Reference in New Issue