Re: [Interest] QApplication in worker thread

2018-08-27 Thread Thiago Macieira
On Monday, 27 August 2018 11:23:37 PDT Ramakanth Kesireddy wrote: > Thanks a lot for your response. I started the thread through some non-qt > means(using pthread)..Before terminating the thread, would like to ensure > eventloop is exited normally. But when qApp-quit() would take time before > whic

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Ramakanth Kesireddy
On Mon 27 Aug, 2018, 23:32 Thiago Macieira, wrote: > On Monday, 27 August 2018 10:29:14 PDT Ramakanth Kesireddy wrote: > > > It's not recommended. It's required. The QCoreApplication object must > be > > > created in the same thread as the thread that created the first > QObject. > > > Usually. Q

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Thiago Macieira
On Monday, 27 August 2018 10:29:14 PDT Ramakanth Kesireddy wrote: > > It's not recommended. It's required. The QCoreApplication object must be > > created in the same thread as the thread that created the first QObject. > > Usually. QCoreApplication is the first QObject anyway. > > Inside Qt, that

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Ramakanth Kesireddy
On Thu, Aug 16, 2018 at 8:31 PM Thiago Macieira wrote: > On Wednesday, 15 August 2018 21:33:43 PDT Ramakanth Kesireddy wrote: > > Hi, > > > > Am using Qt 4.8.x on embedded Linux. > > I'm ignoring that. The following answer applies to one of the supported > versions of Qt right now. Any difference

Re: [Interest] QApplication in worker thread

2018-08-16 Thread Thiago Macieira
On Wednesday, 15 August 2018 21:33:43 PDT Ramakanth Kesireddy wrote: > Hi, > > Am using Qt 4.8.x on embedded Linux. I'm ignoring that. The following answer applies to one of the supported versions of Qt right now. Any differences to the unsupported version you're using are your problem. > Thou

[Interest] QApplication in worker thread

2018-08-15 Thread Ramakanth Kesireddy
Hi, Am using Qt 4.8.x on embedded Linux. Though it is recommended to run QApplication or GUI in main thread, could you please let me know if there are any limitations to create QApplication in worker thread? I see below two issues as QApplication is created in worker thread but not sure if this