[vlc-devel] [PATCH 08/18] contrib: qt: link QtQuick.Shapes plugin
Prince Gupta
guptaprince8832 at gmail.com
Wed Sep 23 19:40:06 CEST 2020
From: Pierre Lamot <pierre at videolabs.io>
---
contrib/src/qtdeclarative/rules.mak | 4 +++-
modules/gui/qt/qt.cpp | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/src/qtdeclarative/rules.mak b/contrib/src/qtdeclarative/rules.mak
index 43e85e1b1c..d1a37620b6 100644
--- a/contrib/src/qtdeclarative/rules.mak
+++ b/contrib/src/qtdeclarative/rules.mak
@@ -46,12 +46,14 @@ QT_DECLARATIVE_CONFIG := \
sub-quickwidgets-install_subtargets \
sub-imports-install_subtargets \
sub-qmlmodels-install_subtargets \
- sub-qmlworkerscript-install_subtargets
+ sub-qmlworkerscript-install_subtargets \
+ sub-quickshapes-install_subtargets
cd $</tools && $(PREFIX)/lib/qt5/bin/qmake -o Makefile tools.pro
cd $< && $(MAKE) -C tools sub-qmlcachegen-install_subtargets
$(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Quick qml/QtQuick.2 qtquick2plugin
$(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Quick qml/QtQuick/Layouts qquicklayoutsplugin
$(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Quick qml/QtQuick/Window.2 windowplugin
+ $(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Quick qml/QtQuick/Shapes qmlshapesplugin
$(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Qml qml/QtQml qmlplugin
$(SRC)/qt/AddStaticLink.sh "$(PREFIX)" Qt5Qml qml/QtQml/Models.2 modelsplugin
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index c05df6e2fa..0a8875f32b 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -85,6 +85,7 @@ extern "C" char **environ;
Q_IMPORT_PLUGIN(QtQmlModelsPlugin)
Q_IMPORT_PLUGIN(QtGraphicalEffectsPlugin)
Q_IMPORT_PLUGIN(QtGraphicalEffectsPrivatePlugin)
+ Q_IMPORT_PLUGIN(QmlShapesPlugin)
#if QT_VERSION >= QT_VERSION_CHECK(5,15,0)
Q_IMPORT_PLUGIN(QtQmlPlugin)
--
2.25.1
More information about the vlc-devel
mailing list