X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FPlugins%2Fpluginmanager.h;h=c9806af14eda1916b3331612eeb1cacdb1997947;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=f79193c1ab89034575fea35550a4d63456be0884;hpb=f26e65c1e66cf02eae9aa209acac743e3b04b4f4;p=evaf
diff --git a/src/libs/Plugins/pluginmanager.h b/src/libs/Plugins/pluginmanager.h
index f79193c..c9806af 100644
--- a/src/libs/Plugins/pluginmanager.h
+++ b/src/libs/Plugins/pluginmanager.h
@@ -58,7 +58,11 @@ namespace Internal {
inline QString expandPluginName(QString const & name)
{
#ifdef Q_OS_WIN32
+# ifdef Q_CC_MINGW
+ return "lib" + name + ".dll";
+# else
return name + ".dll";
+# endif
#elif defined Q_OS_LINUX
return "lib" + name + ".so";
#else