Skip to content
Snippets Groups Projects
Commit 4d30f0d5 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Steve Lhomme
Browse files

qt: do not use qmodernwindowsstyle plugin if qt version is less than 6.7.0

QModernWindowsStyle is a replacement for QWindowsVistaStyle starting with
Qt 6.7.0.
parent 90f06dc9
No related branches found
Tags 0.5.2
1 merge request!6287qt: fix building for win32 when qt version is less than 6.7.0
Pipeline #533612 passed with stage
in 37 minutes and 23 seconds
......@@ -8,7 +8,13 @@ CONFIG -= debug_and_release
CONFIG += no_include_pwd
win32 {
QTPLUGIN += qwindows qmodernwindowsstyle
QTPLUGIN += qwindows
versionAtLeast(QT_VERSION, 6.7.0) {
QTPLUGIN += qmodernwindowsstyle
} else {
QTPLUGIN += qwindowsvistastyle
}
}
linux {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment