Closed nemerle closed 6 years ago
Currently the code looks like this
#ifdef _MSC_VER # include "Windows.h" #else # include <dlfcn.h> #endif
On mingw builds, the _MSC_VER is not set, thus we attempt to use *nix path. Maybe the whole plugin stuff should be solved using Qt's support for dynamically loaded libraries ?
*nix
I'm not very fond of forcing plugin writers to use Qt for writing plugins. Besides, it is much easier to just change the first line to read (untested)
#if defined(_MSC_VER) || defined(__MINGW32__)
Currently the code looks like this
On mingw builds, the _MSC_VER is not set, thus we attempt to use
*nix
path. Maybe the whole plugin stuff should be solved using Qt's support for dynamically loaded libraries ?