[vlc-commits] [Git][videolan/vlc][master] qt: init resource `gui_shaders` with static qt

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Oct 2 11:36:50 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
db2c1b73 by Fatih Uzunoglu at 2026-10-02T13:25:54+02:00
qt: init resource `gui_shaders` with static qt

- - - - -


1 changed file:

- modules/gui/qt/qt.cpp


Changes:

=====================================
modules/gui/qt/qt.cpp
=====================================
@@ -868,6 +868,12 @@ static void *Thread( void *obj )
 #endif
     Q_INIT_RESOURCE( shaders );
 
+    // Qt Widgets uses shaders with RHI, which is
+    // enabled with `QT_WIDGETS_RHI`. Currently the
+    // shaders are pre-baked, so we don't need to
+    // require Qt shader tools when building qtbase.
+    Q_INIT_RESOURCE( gui_shaders );
+
     // NOTE:  Qt declarative 6.8.0 initializes scenegraph_shaders,
     //        but not scenegraph_curve_shaders. Curve shaders
     //        are used in particular cases even when curve



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/db2c1b7331d0f8cbc5a207898a3ac58300f8140e
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list