Skip to content
Snippets Groups Projects
Commit a18f97db authored by hjk's avatar hjk
Browse files

Fixes: extensionsystem: use a patched plugin loader on linux

parent 037ad82e
No related branches found
No related tags found
No related merge requests found
......@@ -45,17 +45,21 @@
#include <QtCore/QCoreApplication>
#include <QtDebug>
#define USE_UNPATCHED_QPLUGINLOADER 1
#ifdef Q_OS_LINUX
# define USE_UNPATCHED_QPLUGINLOADER 0
#else
# define USE_UNPATCHED_QPLUGINLOADER 1
#endif
#if USE_UNPATCHED_QPLUGINLOADER
#include <QtCore/QPluginLoader>
typedef QT_PREPEND_NAMESPACE(QPluginLoader) PluginLoader;
# include <QtCore/QPluginLoader>
typedef QT_PREPEND_NAMESPACE(QPluginLoader) PluginLoader;
#else
#include "patchedpluginloader.cpp"
typedef PatchedPluginLoader PluginLoader;
# include "patchedpluginloader.cpp"
typedef PatchedPluginLoader PluginLoader;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment