X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FPlugins%2Fpluginmanager.h;h=91a5b00947db662addc22238846e0dbd2e5fe00e;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=e56092225030843e3a7be50e38f1ff8e2b207990;hpb=7e6c580d1324e48375638b5f9ccbab4bff90f049;p=evaf
diff --git a/src/libs/Plugins/pluginmanager.h b/src/libs/Plugins/pluginmanager.h
index e560922..91a5b00 100644
--- a/src/libs/Plugins/pluginmanager.h
+++ b/src/libs/Plugins/pluginmanager.h
@@ -2,7 +2,7 @@
* @file Plugins/pluginmanager.h
* @brief Manager for loadable modules (plugins)
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -25,6 +25,7 @@
#include
#include
+#include
namespace eVaf {
@@ -67,6 +68,8 @@ inline QString expandPluginName(QString const & name)
return "lib" + name + ".so";
#elif defined Q_OS_CYGWIN
return "cyg" + name + ".dll";
+#elif defined Q_OS_MACOS
+ return "lib" + name + ".dylib";
#else
return name;
#endif
@@ -129,7 +132,7 @@ signals:
private:
- Internal::PluginManagerPrivate * d;
+ QScopedPointer d;
};