[Interest] [Qt3D] Assertion in QAbstractAspect when inserting entity from plugin DLL

Mike Krus mike.krus at kdab.com
Fri Feb 7 18:55:09 CET 2020


Hi

I can’t say I’ve across such an error before. Can you get a call stack? If you set a conditional break point at the assert (based on metaObj being null) then it might provide some insight?

Feel free to report it as a bug,

Mike

> On 7 Feb 2020, at 13:52, Volker Enderlein <volker.enderlein at ifm-chemnitz.de> wrote:
> 
> Hello,
> 
> I am facing an error since Qt 5.14 (5.14.0 and 5.14.1) that did not show up in previous versions (tested Qt 5.13.2 and before)
> 
> It is a huge engineering application and I did not manage it up to now to reduce it to a small sample that shows the behaviour.
> 
> When interactively inserting a 3D QEntity (a custom geometry derived from QEntity containing a QGeometryRenderer and some QTransform nodes) from a plugin DLL (created with C++) I am greeted by the following assertion:
> 
> ---------------------------
> Microsoft Visual C++ Runtime Library
> ---------------------------
> Debug Error!
> 
> Program: C:\Qt\5.14.1\msvc2017_64\bin\Qt5Cored.dll
> Module: 5.14.1
> File: aspects\qabstractaspect.cpp
> Line: 213
> 
> ASSERT: "metaObj" in file aspects\qabstractaspect.cpp, line 213
> 
> (Press Retry to debug the application)
> 
> And the application does not display the graphics component inserted. Other components are shown. I already inspected the output of the logging categories for Qt3D and our plugin DLL but did not succeed up to now in finding the reason for this behaviour.
> 
> Did anyone were facing similar regressions when updating a Qt3D based application Qt 5.14?
> 
> Any help is very much appreciated.
> 
> Cheers, Volker
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

—
Mike Krus | mike.krus at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel: UK Office +44 1625 809908   Mobile +44 7833 491941
KDAB - The Qt Experts, C++, OpenGL Experts


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4193 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200207/6d2d32ac/attachment.bin>


More information about the Interest mailing list