Explorar o código

Take a stab at what the backend string might be

Donald Carr %!s(int64=4) %!d(string=hai) anos
pai
achega
6753e0968e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();