diff --git a/MUtilities_VS2013.vcxproj b/MUtilities_VS2013.vcxproj index b651360..f0fa6c3 100644 --- a/MUtilities_VS2013.vcxproj +++ b/MUtilities_VS2013.vcxproj @@ -212,7 +212,6 @@ $(ProjectDir)\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\include;%(AdditionalIncludeDirectories) true false - None Windows diff --git a/src/Startup.cpp b/src/Startup.cpp index aaa82cd..7524560 100644 --- a/src/Startup.cpp +++ b/src/Startup.cpp @@ -35,6 +35,21 @@ #include #include #include +#include + +/////////////////////////////////////////////////////////////////////////////// +// Qt Plugin Initialization +/////////////////////////////////////////////////////////////////////////////// + +#ifdef QT_NODLL +#if QT_VERSION < QT_VERSION_CHECK(5,0,0) +Q_IMPORT_PLUGIN(qico) +Q_IMPORT_PLUGIN(qsvg) +#else +Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) +Q_IMPORT_PLUGIN(QICOPlugin) +#endif +#endif /////////////////////////////////////////////////////////////////////////////// // MESSAGE HANDLER