Yes and in it the QApplication is initalized.
Yes and in it the QApplication is initalized.
so, why do you use QLibrary insted of adding your dll to your project?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
What do you mean ? I want to load it dinamyc at runtime, thats why I use QLibrary to resolve the C exported function and activate the DLL in order to do the stuff.
Update: same thing happens on linux (.so). I created new QApplication instance in to the DLL but the event loop located in to the main executable have stucked. Please help.
With a 15 pages that the search of the forum returned, I finally found topic that answer to my question:
http://www.qtcentre.org/forum/f-qt-p...ation-631.html
The other question is even if I pass the pointer of qApp to the DLL from the interface, how I will be able to set correct pointer to QApplication::instance(), I can't find a set method, tomorow I will try some things... If anyone have an idea in the mean time, please let me know.
Bookmarks