Skip to content

Instantly share code, notes, and snippets.

@Martchus
Martchus / main.cpp
Last active June 21, 2021 13:24
Qt Gui/Svg crash with GCC 11.1 and mingw-w64 9.0.0
#include <QGuiApplication>
#include <QSvgRenderer>
#include <QPainter>
#include <QPixmap>
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
// code which crashes with a build of Qt 5.15.2+kde+r196-1 or Qt 6.1.1 compiled using GCC 11.1 and mingw-w64 9.0.0: