I would like to code a DLL which should be loaded by a non-QT application. As a result when my DLL is loaded I dont have any QApplication/QCoreApplication. As a result my Signal/Slot mechanism is not working.
I searched deeply in Qt forums but couldnt achieved a good answer yet about how to handle such a problem. I created a QThread moved my QObjects to that thread and created a fake QApplicationCore and called its exec() function inside QThread's run() function. This way my Signal Slot mechanism worked but I am not happy with that indirect solution. I should be able to activate my threads slots from the main non-Qt thread's execution space. What is the correct way of working with such dll plugins? Direct answers and reading source reccomandations are welcomed. Thank you
Note: The external application loading my DLL is a Windows app. It's a third party application and I cannot touch it.