From 6e0cb9796f13da71febf37cfc49ba66426115725 Mon Sep 17 00:00:00 2001 From: Julien Cabieces Date: Mon, 27 Jan 2025 10:33:43 +0100 Subject: [PATCH] fix(QtMultiMedia): Add qgis.PyQt.QtMultimedia Fixes #59351 --- python/PyQt/CMakeLists.txt | 1 + python/PyQt/PyQt/QtMultimedia.py.in | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 python/PyQt/PyQt/QtMultimedia.py.in diff --git a/python/PyQt/CMakeLists.txt b/python/PyQt/CMakeLists.txt index a3e3d81a419f..2a8916ee52b6 100644 --- a/python/PyQt/CMakeLists.txt +++ b/python/PyQt/CMakeLists.txt @@ -13,6 +13,7 @@ set(PYQT_COMPAT_FILES QtWebEngineCore.py QtWebEngineQuick.py QtWebEngineWidgets.py + QtMultimedia.py QtNetwork.py QtXml.py QtQuickWidgets.py diff --git a/python/PyQt/PyQt/QtMultimedia.py.in b/python/PyQt/PyQt/QtMultimedia.py.in new file mode 100644 index 000000000000..3e21c5377689 --- /dev/null +++ b/python/PyQt/PyQt/QtMultimedia.py.in @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +""" +*************************************************************************** + QtMultimedia.py + --------------------- + Date : January 2025 + Copyright : (C) 2025 by Julien Cabieces + Email : julien dot cabieces at oslandia dot com +*************************************************************************** +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +*************************************************************************** +""" + +__author__ = 'Julien Cabieces' +__date__ = 'January 2025' +__copyright__ = '(C) 2025, Julien Cabieces' + +from PyQt@QT_VERSION_MAJOR@.QtMultimedia import *