-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.8.0, Qt Creator 4.8.1
-
None
-
-
3fdb5f53e31f615836b8ed13cecb9527ba165e3c
Steps to reproduce:
- create a new QML application
- change main.cpp to:
#include <QGuiApplication>
#include <QQmlApplicationEngine>
struct Test {
~Test() {
int *crash = nullptr;
crash[10] = 11;
}
};
Test t;
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
if (engine.rootObjects().isEmpty())
return -1;
return 0;//app.exec();
}
- start in debug mode
Before 4.8, QtC catched the crash. Also if I comment all Qt stuff from main() it catches the crash.