Unloading the QLibrary causes a crash on exit
-
In Qt (v5.2) Windows application several dlls are used, and some of them have .ui files. If the UI from dll is opened at least once, no matter if it is closed or still open, on quit the application crashes if the corresponding dll is unloaded (using unload() function).
Is there a solution to avoid this issue?
Thanks in advance. -
Hi,
Are these files stored using Qt's resources system ?
-
I was thinking about the ui files
-
Then you might be experiencing a regression.
You should take a look at the bug report system to see if it's something known. If not please consider opening a bug report providing a minimal compilable example that reproduces the behavior.
-
It's rarely needed to call unload.