I'm making a library which contains a QThread object. I am going with the moveToThread style.
The DLL is successfully loaded but Qt Creator's application output gives QEventLoop: Cannot be used without QApplication.
I've done some searching work and it suggests I need a QApplication. I don't have a main() in the library so I have no idea where I can put the QApplication object.
Thanks in advance.