[vlc-commits] [Git][videolan/vlc][master] qml: do not override `QQuickItem`'s `antialiasing` property

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Feb 20 11:22:36 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8c12ef95 by Fatih Uzunoglu at 2025-02-20T10:42:37+00:00
qml: do not override `QQuickItem`'s `antialiasing` property

As Qt 6.6 marks it as `FINAL` (without proper justification).

This is done just to fix Qt 6.6, as starting with Qt 6.7 the
property is no longer marked `FINAL`.

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/RoundImage.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/RoundImage.qml
=====================================
@@ -26,12 +26,14 @@ Item {
     implicitWidth: image.implicitWidth
     implicitHeight: image.implicitHeight
 
-    // Override QQuickItem's antialiasing as readonly.
+    // WARNING: We can not override QQuickItem's antialiasing
+    //          property as readonly because Qt 6.6 marks it
+    //          as `FINAL`...
     // FIXME: The shader can be generated without
     //        the define that enables antialiasing.
     //        It should be done when the build system
     //        starts supporting shader defines.
-    readonly property bool antialiasing: true
+    antialiasing: true
 
     asynchronous: true
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c12ef9595f81296b51719860e123bf0c6c01e50

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c12ef9595f81296b51719860e123bf0c6c01e50
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