Hello again...
The issue this time is really weird. I have a Qt application that works good. I want to extend it via dynamic loading of DLLs. I do not use the Qt way from the documentation because of some reasons...
Here's what I do: I export a C function from the DLL, then I load that DLL from my Qt application. So far so good, the function in the DLL is called correctly but when comes time the DLL to create some kind of GUI it crashes directly with reason that QApplication must be initialized before QPaintDevice. Well in to the my main() function I initalise QApplication and any GUI that is created by the main program is working good, but I can't create GUI from the DLL. Did someone have any idea how to pass this problem?
Bookmarks