termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Package]: python-pyqtwebengine

Open eliranwong opened this issue 2 years ago • 6 comments

Feature description

I want to run python-pyqt5-webengine on Termux

Additional information

Right now I can "pkg install pyqt5" but that does not include QtWebEngineWidgets

Therefore, it failed to run "from PyQt5 import QtWebEngineWidgets" via python

Home page URL

https://www.riverbankcomputing.com/software/pyqtwebengine/

Source code URL

https://files.pythonhosted.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-5.15.6.tar.gz

eliranwong avatar Sep 13 '22 21:09 eliranwong

Does not either build nor run without qt5-qtwebengine (#10070). May build with stub libs, but it would not make much sense.

xtkoba avatar Oct 16 '22 13:10 xtkoba

"Wontfix" until qt5-qtwebengine is packaged. Thanks.

xtkoba avatar Nov 30 '22 10:11 xtkoba

Added "package request" label to prevent Stale Bot from interfering.

xtkoba avatar Dec 04 '22 16:12 xtkoba

has this problem been resolved ?

Mame29 avatar Jan 15 '23 01:01 Mame29

if not solved, try this

sip-wheel --qmake-setting 'QMAKE_CXXFLAGS += -I/data/data/com.termux/files/usr/include/QtPrintSupport -I/data/data/com.termux/files/usr/include/QtWebChannel' --qmake-setting 'QMAKE_LFLAGS += -L/data/data/com.termux/files/usr/lib -lpython3.11 -lQt5WebEngineCore -lQt5Quick -lQt5Gui -lQt5QmlModels -lQt5Qml -lQt5Network -lQt5Core -lQt5WebEngine -lQt5WebEngineWidgets -lQt5Widgets'

Mame29 avatar Jan 16 '23 03:01 Mame29

my result

Screenshot_20230115_114311 Screenshot_20230115_115226 Screenshot_20230115_115301

Mame29 avatar Jan 16 '23 03:01 Mame29

@Mame29 How did you install it? I have built the wheel but it is not installing.

Screenshot_Termux

codemona avatar Jan 17 '23 01:01 codemona

@codemona

I change file name to PyQtWebEngine-5.15.6-cp311-abi3-linux_aarch64.whl

Mame29 avatar Jan 17 '23 01:01 Mame29

sip-wheel

I want to try, but 'sip-wheel' command not found. May I ask how can I install sip-wheel command on Termux?

eliranwong avatar Jan 17 '23 10:01 eliranwong

sip-wheel

I want to try, but 'sip-wheel' command not found. May I ask how can I install sip-wheel command on Termux?

now install with commad pkg update -y && pkg install python-pyqtwebengine

Mame29 avatar Jan 17 '23 15:01 Mame29