[vlc-devel] [PATCH 2/5] doc: QtGl: don't condition plugin import based on QT_STATICPLUGIN

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 26 15:15:04 UTC 2021


QT_STATICPLUGIN is only used to export plugins, it has no impact on importing
plugins (see qplugin.h).
---
 doc/libvlc/QtGL/main.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/doc/libvlc/QtGL/main.cpp b/doc/libvlc/QtGL/main.cpp
index 564c83dd27d..5447afc8305 100644
--- a/doc/libvlc/QtGL/main.cpp
+++ b/doc/libvlc/QtGL/main.cpp
@@ -5,10 +5,8 @@
 
 #ifdef QT_STATIC
 # include <QtPlugin>
-#ifdef QT_STATICPLUGIN
 Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
 #endif
-#endif
 
 
 #include "qtvlcwidget.h"
-- 
2.29.2



More information about the vlc-devel mailing list