]> sigrok.org Git - pulseview.git/blobdiff - main.cpp
Ensure QT plugin imports are only done when compiling statically
[pulseview.git] / main.cpp
index 3a5ac29fc2bca41ae597f812ee90d88040b2a02f..d3c52adb15ebee8c03dbe52bf20c871d7d330440 100644 (file)
--- a/main.cpp
+++ b/main.cpp
 
 #ifdef _WIN32
 #include <QtPlugin>
+#ifdef QT_STATIC
 Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
 Q_IMPORT_PLUGIN(QSvgPlugin)
 #endif
+#endif
 
 using std::exception;
 using std::ifstream;