-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
6.9.1
-
None
-
VS 2022 + "Qt VS Tools" 3.4.1 extension
When a Qt Quick program is terminating and releasing all the resources, a debug error appears on screen (attachment) with the following:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread QThread(0x13ba8337ef0). Receiver 'QQuickProfilerAdapterFactory(0x13ba62aed50)' was created in thread QThread(0x13ba3743c30, name = "Qt mainThread")", file C:\Users\qt\work\qt\qtbase\src\corelib\kernel\qcoreapplication.cpp, line 531
It happens only when I'm using Visual Studio 2022 + "Qt VS Tools" extension which is official from Qt.
I tested both Qt Creator and VS2022 but the error appears only on VS2022 in Qt-Debug configuration, also with different PC and Windows version (10 and 11).
This issue is not present in the previous versions (like 6.8.3) in VS2022 with the same project (BUG_QT_691.zip attachment).
- Simone Sbaraglia, NOIVIS Dev Team