[vlc-devel] [RFC 23/82] qt: load static qml plugins
Pierre Lamot
pierre at videolabs.io
Fri Feb 1 14:01:27 CET 2019
---
modules/gui/qt/qt.cpp | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index c5d57ffef1..1999c6a54a 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -67,10 +67,21 @@ extern "C" char **environ;
#ifdef QT_STATIC /* For static builds */
#include <QtPlugin>
+ #include <QQuickWindow>
#ifdef QT_STATICPLUGIN
Q_IMPORT_PLUGIN(QSvgIconPlugin)
Q_IMPORT_PLUGIN(QSvgPlugin)
+ Q_IMPORT_PLUGIN(QJpegPlugin)
+ Q_IMPORT_PLUGIN(QtQuick2Plugin)
+ Q_IMPORT_PLUGIN(QtQuickControls2Plugin)
+ Q_IMPORT_PLUGIN(QtQuickLayoutsPlugin)
+ Q_IMPORT_PLUGIN(QtQuick2WindowPlugin)
+ Q_IMPORT_PLUGIN(QtQuickTemplates2Plugin)
+ Q_IMPORT_PLUGIN(QtQmlModelsPlugin)
+ Q_IMPORT_PLUGIN(QtGraphicalEffectsPlugin)
+ Q_IMPORT_PLUGIN(QtGraphicalEffectsPrivatePlugin)
+
#if !HAS_QT56
Q_IMPORT_PLUGIN(AccessibleFactory)
#endif
--
2.19.1
More information about the vlc-devel
mailing list