Stop support Qt versions before 5.9

There's just no point to testing these outdated versions.
Everything we build is now Qt 5.9 or newer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-14 10:35:45 -07:00
parent cd8e1eb15a
commit d323e9381b
4 changed files with 1 additions and 48 deletions

View file

@ -214,18 +214,8 @@ exit:
ctx.makeCurrent(NULL);
surface.destroy();
if (glError) {
#if QT_VERSION < QT_VERSION_CHECK(5, 8, 0)
qWarning() << QStringLiteral(VALIDATE_GL_PREFIX
"ERROR: %1.\n"
"Cannot automatically fallback to a software renderer!\n"
"Set the environment variable 'QT_QUICK_BACKEND' with the value of 'software'\n"
"before running Subsurface!\n")
.arg(glError);
exit(0);
#else
qWarning() << QStringLiteral(VALIDATE_GL_PREFIX "WARNING: %1. Using a software renderer!").arg(glError);
QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
#endif
}
}