[vlc-commits] [Git][videolan/vlc][master] qt: initialize resource `scenegraph_curve_shaders` with static Qt
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Nov 19 16:43:25 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
c0ed1769 by Fatih Uzunoglu at 2024-11-19T16:27:10+00:00
qt: initialize resource `scenegraph_curve_shaders` with static Qt
- - - - -
1 changed file:
- modules/gui/qt/qt.cpp
Changes:
=====================================
modules/gui/qt/qt.cpp
=====================================
@@ -853,6 +853,16 @@ static void *Thread( void *obj )
#endif
Q_INIT_RESOURCE( shaders );
+#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
+ // NOTE: Qt declarative 6.8.0 initializes scenegraph_shaders,
+ // but not scenegraph_curve_shaders. Curve shaders
+ // are used in particular cases even when curve
+ // rendering is not explicitly enabled, this was
+ // observed with underlined text on Windows which lead
+ // access violation in the scene graph thread.
+ Q_INIT_RESOURCE( scenegraph_curve_shaders );
+#endif
+
Q_INIT_RESOURCE( qmake_QtQml );
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
Q_INIT_RESOURCE( qmake_QtQml_Base );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0ed1769104fada5166a37464b00a7595874770c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0ed1769104fada5166a37464b00a7595874770c
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