SVG IMAGE LOAD ERROR
-
I create a SVG image with inkscape with symbol like for example NAND logics.
When I load this SVG image with my code and even with the basic example given with qt "SVG VIEWVER EXAMPLE", I have the same issue.
My symbol don't show up and I have this error for every symbols :
qt.svg: link #NAND is undefined!
or
qt.svg: link #Nand_Gate is undefined! (this with the NAND logic symbol basic with inskcape)Can you help me ?
-
I create a SVG image with inkscape with symbol like for example NAND logics.
When I load this SVG image with my code and even with the basic example given with qt "SVG VIEWVER EXAMPLE", I have the same issue.
My symbol don't show up and I have this error for every symbols :
qt.svg: link #NAND is undefined!
or
qt.svg: link #Nand_Gate is undefined! (this with the NAND logic symbol basic with inskcape)Can you help me ?
Please take a look at https://doc.qt.io/qt-6/svgrendering.html : "Qt supports the static features of SVG 1.2 Tiny. ECMA scripts and DOM manipulation are currently not supported." - make sure your svg does not contain other features.
-
Please take a look at https://doc.qt.io/qt-6/svgrendering.html : "Qt supports the static features of SVG 1.2 Tiny. ECMA scripts and DOM manipulation are currently not supported." - make sure your svg does not contain other features.
@Christian-Ehrlicher i tested my svg image with with the example proposed "SVG VIEWER" in the link you quoted me, and changing the svg image with mine I have the same problem.
-
@Christian-Ehrlicher i tested my svg image with with the example proposed "SVG VIEWER" in the link you quoted me, and changing the svg image with mine I have the same problem.
@Cassandre-Neufville I don't understand what you want to tell us.
-
@Cassandre-Neufville I don't understand what you want to tell us.
@Christian-Ehrlicher i search a solution to my problem, to load my svg image with symbols
-
@Christian-Ehrlicher i search a solution to my problem, to load my svg image with symbols
But @Christian-Ehrlicher has pointed you to the documentation saying this is not supported in Qt's SVG, it is limited.
I don't know whether it might work in QtWebEngine, which is the Chromium browser engine. That might show SVG.