Hello, I was emitting signal but I also had a code block was doing processing. So I emitted another signal and process data in the slot. And It works fine.
Thank you *Thiago* regarding QT_FATAL_WARNINGS flag. I liked it. I did not know this flag before. Celal SAVUR On Wed, Aug 19, 2015 at 3:21 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > 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 >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest