From fc645a5668b91089d52a165ae7e1bb158ff02fb2 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Jan 2016 13:27:23 +0100 Subject: [PATCH] Fixed: Import static platform plugin --HG-- branch : develop --- code/nel/tools/3d/panoply_preview/tool_main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/nel/tools/3d/panoply_preview/tool_main.cpp b/code/nel/tools/3d/panoply_preview/tool_main.cpp index 8cf0eec63..9c12f6f65 100644 --- a/code/nel/tools/3d/panoply_preview/tool_main.cpp +++ b/code/nel/tools/3d/panoply_preview/tool_main.cpp @@ -37,6 +37,20 @@ #include #include +#ifdef QT_STATICPLUGIN + +#include + +#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 #include