Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11, 5.14
-
-
50e76d84bf6935e5d517c64c46b32c50d1e14ba9 (qt/qtdeclarative/5.15)
Description
Especially when using the qmlpreview feature in qtcreator this looks very bad.
> Qt5Core.dll!qt_message_fatal(QtMsgType __formal, const QMessageLogContext & context, const QString & message) Line 1883 C++ Qt5Core.dll!QMessageLogger::fatal(const char * msg, ...) Line 893 C++ Qt5Core.dll!QThread::~QThread() Line 450 C++ [External Code] Qt5Qml.dll!QQmlDebugConnectorFactory::~QQmlDebugConnectorFactory() Line 172 C++ [External Code] Qt5Core.dll!QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag flag) Line 580 C++ Qt5Core.dll!QFactoryLoaderPrivate::~QFactoryLoaderPrivate() Line 179 C++ [External Code] [Inline Frame] Qt5Core.dll!QScopedPointerDeleter<QObjectData>::cleanup(QObjectData *) Line 60 C++ [Inline Frame] Qt5Core.dll!QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> >::{dtor}() Line 107 C++ Qt5Core.dll!QObject::~QObject() Line 1119 C++ [External Code]
and output is:
QEventDispatcherWin32::wakeUp: Failed to post a message (Ungültiges Fensterhandle)
QThread: Destroyed while thread is still running
Unhandled exception at 0x00007FFE59E75128 (Qt5Core.dll) in qml.exe: Fatal program exit requested.
Some bugs with qmlpreview and qmlscene should be fixed if we use qml, but with this crash it looks not like the best solution at the moment.