[vlc-commits] [Git][videolan/vlc][master] qt: do not use qmodernwindowsstyle plugin if qt version is less than 6.7.0

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 13 14:12:24 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
4d30f0d5 by Fatih Uzunoglu at 2024-11-13T13:33:18+00:00
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.

- - - - -


1 changed file:

- modules/gui/qt/qt6.pro


Changes:

=====================================
modules/gui/qt/qt6.pro
=====================================
@@ -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 {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4d30f0d5aecbe1e7e4e899382713dbcc0d79d206

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4d30f0d5aecbe1e7e4e899382713dbcc0d79d206
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list