summaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-main.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-14 10:35:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-14 13:37:17 -0700
commitd323e9381b17873353a10803d71b80fb57e6bde3 (patch)
tree430293de9301ec0f58d35da98773a9fcdf0c6de6 /subsurface-desktop-main.cpp
parentcd8e1eb15aa23e760a2e7a952652e92433f43a6c (diff)
downloadsubsurface-d323e9381b17873353a10803d71b80fb57e6bde3.tar.gz
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>
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r--subsurface-desktop-main.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp
index 981a62a04..33a424799 100644
--- a/subsurface-desktop-main.cpp
+++ b/subsurface-desktop-main.cpp
@@ -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
}
}