Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
313101f5
Commit
313101f5
authored
Aug 19, 2022
by
Julius Künzel
💬
Browse files
[Qt6] Fix version comparison
parent
ccb8b332
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/model/subtitlemodel.cpp
View file @
313101f5
...
...
@@ -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
...
...
src/main.cpp
View file @
313101f5
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment