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

2020-02-07 Thread Thiago Macieira
On Friday, 7 February 2020 05:52:37 PST Volker Enderlein wrote: > 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 MSVC 2017 has serious bug in static initialisat

[Interest] Fwd: Re: Signal/Slot connection fails, even though QMetaObject::activate is called

2020-02-07 Thread Jonathan Purol
Thanks to Sze-Howe for pointing me out that I should post this to the global thread, instead of to just the people who I talked to before. Sorry to the two people who have now received this message twice! sincerely, Folling Forwarded Message Subject: Re: [Interest] Signal/Sl

Re: [Interest] Signal/Slot connection fails, even though QMetaObject::activate is called

2020-02-07 Thread Sze Howe Koh
On Sat, 8 Feb 2020 at 06:45, Jonathan Purol wrote: > > Hello everyone, > > I have a QMainWindow subclass called `text_editor` with a function > `save` which looks as follows: > ```cpp > void text_editor::save() { > > _textbox->document()->setModified(false); > _textbox->setFocus(); > >

Re: [Interest] Signal/Slot connection fails, even though QMetaObject::activate is called

2020-02-07 Thread Tony Rietwyk
Hi, Does it work if you don't pass 'this' as the third argument to connect?  I never use that particular overload of connect. I usually pass the lambda as the third argument. Hope that helps, Tony On 8/02/2020 10:03 am, Scott Bloom wrote: Are you sure the function is getting called (via a

Re: [Interest] Signal/Slot connection fails, even though QMetaObject::activate is called

2020-02-07 Thread Scott Bloom
Are you sure the function is getting called (via a break point)? -Original Message- From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Jonathan Purol Sent: Friday, February 7, 2020 2:44 PM To: Qt Project Subject: [Interest] Signal/Slot connection fails, even though Q

[Interest] Signal/Slot connection fails, even though QMetaObject::activate is called

2020-02-07 Thread Jonathan Purol
Hello everyone, I have a QMainWindow subclass called `text_editor` with a function `save` which looks as follows: ```cpp void text_editor::save() {     _textbox->document()->setModified(false);     _textbox->setFocus();     emit saved(); } ``` I now connect to that slot in another class lik

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

2020-02-07 Thread Mike Krus via Interest
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 > wrote: > > Hel

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

2020-02-07 Thread Volker Enderlein
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