Fixes: extensionsystem: use a patched plugin loader on linux

This commit is contained in:
hjk
2009-02-19 16:30:08 +01:00
parent 037ad82e42
commit a18f97dbe0

View File

@@ -45,17 +45,21 @@
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>
#include <QtDebug> #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 #if USE_UNPATCHED_QPLUGINLOADER
#include <QtCore/QPluginLoader> # include <QtCore/QPluginLoader>
typedef QT_PREPEND_NAMESPACE(QPluginLoader) PluginLoader; typedef QT_PREPEND_NAMESPACE(QPluginLoader) PluginLoader;
#else #else
#include "patchedpluginloader.cpp" # include "patchedpluginloader.cpp"
typedef PatchedPluginLoader PluginLoader; typedef PatchedPluginLoader PluginLoader;
#endif #endif