
Originally Posted by
high_flyer
Under windows at least you do get a handle to your DLL.
Only if you load it explicitly. Not if it's loaded implicitly by the linker. Try writing a simple application that links with QtCore and unload that library while running the program. In other words, modify this code:
#include <stdio.h>
int main(int argc, char **argv) {
getchar();
return 0;
}
#include <stdio.h>
int main(int argc, char **argv) {
getchar();
return 0;
}
To copy to clipboard, switch view to plain text mode
SOURCES += main.cpp
QT = core
SOURCES += main.cpp
QT = core
To copy to clipboard, switch view to plain text mode
... and make it unload QtCore before the call to getchar().
Bookmarks