[Interest] QObject: Cannot create children for a parent that is in a different thread.
Thiago Macieira
thiago.macieira at intel.com
Wed Aug 19 09:21:30 CEST 2015
On Tuesday 18 August 2015 18:40:53 Celal SAVUR wrote:
> Hello Thiago,
>
> Actually I just find out that the C function which I am calling in Qt, is
> creating a thread. I do not have any control over this thread. The library
> I am using that have callback interface and whenever data available it
> calls my callback method in Qt.
>
> So, in order to solve this problem, what should I do?
Sync back to the main thread by posting events or emitting signals from your
callback.
> By the way, my application does not crash so I don't have backtrace.
That's what the QT_FATAL_WARNINGS=1 was for.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list