[python-pyqt5] Enable QtWebEngine support for armv7h?

Problems with packages? Post here, using [tags] of the package name.

[python-pyqt5] Enable QtWebEngine support for armv7h?

Postby xkero » Fri Feb 03, 2017 5:42 pm

Would it be possible to enable QtWebEngine support in python-pyqt5 for armv7h? I noticed QtWebEngine support was removed from python-pyqt5 due to qt5-webengine not being available for some architectures (arm and armv6h), but the required package is available for armv7h and aarch64. I'm using a raspberry pi 3 (armv7h install), I installed qt5-webengine from repo, compiled & installed the python-pyqt5 package, and can confirm it works.

Here's a simple python script I wrote to confirm it's working:

$this->bbcode_second_pass_code('', '
#!/usr/bin/env python3

import sys

from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtWidgets import QApplication
from PyQt5.QtCore import QUrl

app = QApplication(sys.argv)

browser = QWebEngineView()
browser.titleChanged.connect(browser.setWindowTitle)

browser.load(QUrl(sys.argv[1]))
browser.show()

app.exec_()
')

Save the above as browser.py, make executable, and run ./browser.py https://archlinuxarm.org while in an X environment, you should see a window appear with the Arch Linux ARM homepage.
xkero
 
Posts: 1
Joined: Fri Feb 03, 2017 4:37 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 8 guests