mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/python-pyqt5: add missing SIP module
This fixes the following runtime error when importing PyQt5 in python: from PyQt5.QtCore import * ModuleNotFoundError: No module named 'PyQt5.sip' The problem was likely triggered by the atomic upgrade from 5.7 to 5.15 inb36ce7e. This commit is part of the 2022-2024 LTS. Signed-off-by: Ralf Dragon <hypnotoad@lindra.de> Tested-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commitba09a448f1) [Peter: reword commit summary] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
3ac71fa840
commit
5a2be8f85a
@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_PYQT5
|
|||||||
bool "python-pyqt5"
|
bool "python-pyqt5"
|
||||||
depends on BR2_PACKAGE_QT5
|
depends on BR2_PACKAGE_QT5
|
||||||
select BR2_PACKAGE_PYTHON_SIP
|
select BR2_PACKAGE_PYTHON_SIP
|
||||||
|
select BR2_PACKAGE_PYTHON_PYQT5_SIP # runtime
|
||||||
select BR2_PACKAGE_QT5BASE_GUI
|
select BR2_PACKAGE_QT5BASE_GUI
|
||||||
help
|
help
|
||||||
Python bindings for Qt 5
|
Python bindings for Qt 5
|
||||||
|
|||||||
Reference in New Issue
Block a user