Преглед изворни кода

Take a stab at what the backend string might be

Donald Carr пре 4 година
родитељ
комит
6753e0968e
1 измењених фајлова са 1 додато и 1 уклоњено
  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();