Fixed: Import static platform plugin

This commit is contained in:
kervala 2016-01-18 13:27:23 +01:00
parent bd6b6e845e
commit 181b516383

View file

@ -37,6 +37,20 @@
#include <QtCore/qdebug.h>
#include <QStyleFactory>
#ifdef QT_STATICPLUGIN
#include <QtPlugin>
#if defined(Q_OS_WIN32)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#elif defined(Q_OS_MAC)
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
#elif defined(Q_OS_UNIX)
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
#endif
#endif
// NeL includes
#include <nel/misc/debug.h>
#include <nel/misc/common.h>