mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
cd8e1eb15a
commit
d323e9381b
4 changed files with 1 additions and 48 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue