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

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

Reply via email to