Hello all,
I have a small project that I intend to use as a dynamic plugin. That compiles fine under qt_511/linux/gcc, but I cannot succeed to compile with qt_511/windows/msvc2012. The compiler issues a lot of errors with unresolved external symbol. These symbols and classes are actually defined in the main application, and the plugin just has access to the .h definitions. I believe it has nothing to do with the fact that this library is intended to be a plugin, since when I remove all plugin-related macros and such, I still get the same problem under msvc-2012 only (linux/gcc is still fine as far as the compilation goes). I have tried a lot to play with Q_DECL_EXPORT/Q_DECL_IMPORT and Q_CORE_EXPORT with no luck.
If I add "static" to the CONFIG, it compiles but this is not what I want: I don't want a .lib file I want a .dll
Any help in understanding why it compiles fine with gcc and not with msvc-2012 will be really appreciated,
Thanks
Bookmarks