Commit 313101f5 authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

[Qt6] Fix version comparison

parent ccb8b332
......@@ -28,7 +28,7 @@
#include <QRegularExpression>
#include <QTextCodec>
#include <utility>
#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <QStringConverter>
#endif
......
......@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment