Ver Fonte

Take a stab at what the backend string might be

Donald Carr há 4 anos atrás
pai
commit
6753e0968e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main.cpp

+ 1 - 1
src/main.cpp

@@ -232,7 +232,7 @@ int main(int argc, char *argv[])
 #if QT_VERSION < QT_VERSION_CHECK(5, 8, 0)
         qDebug() << "Trying to use the SG software backend prior to Qt 5.8";
 #else
-        QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
+        QQuickWindow::setSceneGraphBackend("software");
 #endif
     } else {
         QSurfaceFormat format = QSurfaceFormat::defaultFormat();