Very long time loaded svg in Image.
-
See https://bugreports.qt.io/browse/QTBUG-139060
As a local workaround you can compile QtSvg by yourself and remove the call todetectCyclesAndWarn(m_doc)
-
Hi,
Which version of Qt 6 ?
On which platform ?
Does it do it for all your SVGs or one in particular ? -
Would it be possible to share a minimal compilable project with a sample svg file ?
By the way, can you check with a more recent version of Qt ?
-
It's minimal code, but I can'd load hear file on 5 mb and i can't add heare zip-file
It's link on file https://transfiles.ru/iwsuaRectangle { z: 111 anchors.fill: parent color: "grey" Image { anchors.fill: parent fillMode: Image.PreserveAspectFit asynchronous: true cache: true source: "file:///C:/QtProjects/build-BTeleShell-ui-Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/BModules/mmTerminal/debug/data/svgBuilding/12/13543/0/1.svg" // source: "file:///C:/QtProjects/build-BTeleShell-ui-Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/BModules/mmTerminal/debug/data/svgBuilding/12/13543/0/2.svg" // source: "file:///C:/QtProjects/build-BTeleShell-ui-Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/BModules/mmTerminal/debug/data/svgBuilding/12/48.svg" } }
-
See https://bugreports.qt.io/browse/QTBUG-139060
As a local workaround you can compile QtSvg by yourself and remove the call todetectCyclesAndWarn(m_doc)
-
What you mean? Me need compile all Qt or only QtSvg? And how mach time need comman Qt for fix this bug?
@Mihaill said in Very long time loaded svg in Image.:
Me need compile all Qt or only QtSvg?
As written: QtSvg
-
@Mihaill said in Very long time loaded svg in Image.:
Me need compile all Qt or only QtSvg?
As written: QtSvg
-
See https://bugreports.qt.io/browse/QTBUG-139060
As a local workaround you can compile QtSvg by yourself and remove the call todetectCyclesAndWarn(m_doc)
@Christian-Ehrlicher said in Very long time loaded svg in Image.:
compile QtSvg by yourself and remove the call to detectCyclesAndWarn(m_doc)
I compile, get Qt6Svg.dll and Qt6SvgWidgets.dll and push in dir with my .exe, but its steel don't work.
-
Because you built your app in debug mode but you did not built QtSvg in debug mode.
look in the debugger output which dlls get loaded from where -
Because you built your app in debug mode but you did not built QtSvg in debug mode.
look in the debugger output which dlls get loaded from where -