Re: [Interest] Good way to track down "QCoreApplication::postEvent: Unexpected null receiver"

2015-12-06 Thread Samuel Gaist
Hi,

That usually occurs when you are calling deleteLater on a null QObject.

First thing I'd check are delete and deleteLater statements of QObject derived 
class.

Cheers

Samuel

On 6 déc. 2015, at 19:44, Bob Hood  wrote:

> I'm getting this warning/error, but it's pretty nebulous in terms of where 
> exactly it is occurring.  Is there some kind of debug switch I can enable to 
> get move verbose output when this occurs, perhaps something that would help 
> me pinpoint the culprit?
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Good way to track down "QCoreApplication::postEvent: Unexpected null receiver"

2015-12-06 Thread Bob Hood

On 12/6/2015 1:46 PM, Samuel Gaist wrote:

Hi,

That usually occurs when you are calling deleteLater on a null QObject.

First thing I'd check are delete and deleteLater statements of QObject derived 
class.


Ah, excellent.  That at least lets me know where to focus my attention.

Thank you, Samuel.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Good way to track down "QCoreApplication::postEvent: Unexpected null receiver"

2015-12-06 Thread Bob Hood

On 12/6/2015 3:49 PM, Giuseppe D'Angelo wrote:

On Sun, Dec 6, 2015 at 7:44 PM, Bob Hood  wrote:

I'm getting this warning/error, but it's pretty nebulous in terms of where
exactly it is occurring.  Is there some kind of debug switch I can enable to
get move verbose output when this occurs, perhaps something that would help
me pinpoint the culprit?

Run with QT_FATAL_WARNINGS=1? Add a breakpoint on the qWarning
statement in question inside Qt?


Good point, Giuseppe.  I did not know about that variable. I'll try that and 
see if it helps.


Thanks so much.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Good way to track down "QCoreApplication::postEvent: Unexpected null receiver"

2015-12-06 Thread Giuseppe D'Angelo
On Sun, Dec 6, 2015 at 7:44 PM, Bob Hood  wrote:
> I'm getting this warning/error, but it's pretty nebulous in terms of where
> exactly it is occurring.  Is there some kind of debug switch I can enable to
> get move verbose output when this occurs, perhaps something that would help
> me pinpoint the culprit?

Run with QT_FATAL_WARNINGS=1? Add a breakpoint on the qWarning
statement in question inside Qt?

-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest