Re: [Interest] [Qt3d] QSceneLoader in Thread

2018-10-10 Thread Andrew Ialacci
The worlds best article on the subject: https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/ Sent from my iPad On Oct 10, 2018, at 2:11 PM, Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Make sure to check how QObject are related to a QThread.

Re: [Interest] [Qt3d] QSceneLoader in Thread

2018-10-10 Thread Jérôme Godbout
Make sure to check how QObject are related to a QThread. Each QObject belong to a single QThread and cannot be used into other thread. If you need the object into another thread to do processing or signal/slot, you will need the QObject::moveToThread() function on each object first. You might want

[Interest] [Qt3d] QSceneLoader in Thread

2018-10-10 Thread Saif Suleiman
Currently I am trying to import a scene in my Qt3d application. The problem is, when creating an instance from QSceneLoader and set the sources QUrl then add it to an Entity, it freezes the application until it finishes the importing. I tried to put it in thread like : void start(){ qDebug() <