-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.9.1
-
None
-
Visual Studio 2022
Hey, I have been getting this breakpoint when trying to render an SVG file into my C++ 20 app as an icon for a button, I'm a bit of a beginner when dealing with Qt and its components so sorry if I made a mistake.
I will attach the SVG file (It's a simple X close button), the CPP file and its Header that's responsible for the SVG rendering, the Call Stack of where the breakpoint happens, the resources.qrc file, and some screenshots of the project and its paths.
The Breakpoint happens at line 61 in the CPP file
The Call Stack:
ntdll.dll!00007ffa53589d88() Unknown ntdll.dll!00007ffa535231f2() Unknown ntdll.dll!00007ffa5361fa1a() Unknown ntdll.dll!00007ffa5351de8b() Unknown ntdll.dll!00007ffa53526b96() Unknown ucrtbase.dll!00007ffa50b5e0fb() Unknown Qt6Gui.dll!00007ff937acf34a() Unknown Qt6Gui.dll!00007ff937ab6c9f() Unknown Qt6Guid.dll!00007ff935dc37bf() Unknown Qt6Guid.dll!00007ff935dc2913() Unknown Qt6Guid.dll!00007ff935d9e95e() Unknown Qt6Svgd.dll!00007ff95c59aed3() Unknown Qt6Svgd.dll!00007ff95c56b5a8() Unknown > Chronicle.exe!SvgColorUtils::renderSvg(const QByteArray & svgData, int width, int height, double devicePixelRatio) Line 61 C++ Chronicle.exe!SvgColorUtils::getIcon(const QString & fullPath, const QColor & __formal, int width, int height, double devicePixelRatio) Line 91 C++ Chronicle.exe!IconUtils::coloredSvg(const QString & name, const QColor & color, const QSize & size) Line 19 C++ Chronicle.exe!TitleBar::setupUi() Line 40 C++ Chronicle.exe!TitleBar::TitleBar(QWidget * parent) Line 12 C++ Chronicle.exe!MainWindow::setupUi() Line 61 C++ Chronicle.exe!MainWindow::MainWindow(QWidget * parent) Line 29 C++ Chronicle.exe!main(int argc, char * * argv) Line 12 C++ [External Code]