how to off ShaderEffectSource animation qt
Unsolved
QML and Qt Quick
-
I have a project on qt 6.6.3, opengl and quick are connected. Everything works correctly, the code I'll show below is part of my application. Closer to the point - when I load components, blur appears on the elements under it. And the fact is that when launched, an animation of blur manifestation is played, which should not be there. I did not find anything like this in the documentation
I would be glad to see the proposed alternatives or other ways of loading the element.
import QtQuick 6.6 import QtQuick.Controls 6.6 import QtQuick.Effects 6.6 import Qt5Compat.GraphicalEffects Rectangle { id: company_page anchors.fill: parent color: "transparent" Rectangle { id: leftObject width: parent.width * 0.4 height: parent.height * 0.6 color: "blue" radius: 10 anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter anchors.margins: 20 } Rectangle { id: rightObject width: parent.width * 0.4 height: parent.height * 0.6 color: "green" radius: 10 anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter anchors.margins: 20 } Rectangle { id: blurArea width: 500 height: 400 anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter color: "transparent" border.color: "black" ShaderEffectSource { id: blurSource sourceItem: company_page sourceRect: Qt.rect(blurArea.x, blurArea.y, blurArea.width, blurArea.height) live: true } FastBlur { id: blurEffect anchors.fill: parent source: blurSource radius: 20 transparentBorder: true } } }