[frameworks/kdeclarative] src/qmlcontrols/graphicaleffects: graphicaleffects: Fix Lanczos shader path

Kai Uwe Broulik <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit dde24f1be5fb6cdbecaed0b004657cee6d405e51 by Kai Uwe Broulik.
Committed on 28/07/2026 at 05:54.
Pushed by broulik into branch 'master'.

graphicaleffects: Fix Lanczos shader path

The URL resolves to ":/qt/qml/org/kde/graphicaleffects/:/shaders/lanczos2sharp.frag.qsb"
which is rubbish. Instead, use an absolute qrc:/ URL.

M  +2    -2    src/qmlcontrols/graphicaleffects/Lanczos.qml

https://invent.kde.org/frameworks/kdeclarative/-/commit/dde24f1be5fb6cdbecaed0b004657cee6d405e51

diff --git a/src/qmlcontrols/graphicaleffects/Lanczos.qml b/src/qmlcontrols/graphicaleffects/Lanczos.qml
index 5df8c160..c8d86908 100644
--- a/src/qmlcontrols/graphicaleffects/Lanczos.qml
+++ b/src/qmlcontrols/graphicaleffects/Lanczos.qml
@@ -63,6 +63,6 @@ ShaderEffect {
      */
     property real resolution: 0.98;
 
-    vertexShader: Qt.resolvedUrl(":/shaders/preserveaspect.vert.qsb")
-    fragmentShader: Qt.resolvedUrl(":/shaders/lanczos2sharp.frag.qsb")
+    vertexShader: "qrc:/shaders/preserveaspect.vert.qsb"
+    fragmentShader: "qrc:/shaders/lanczos2sharp.frag.qsb"
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.