Python and choosing a GUI

ekske1

Executive Member
Joined
Apr 22, 2017
Messages
5,064
Reaction score
1,548
Location
bblounge at the end of the universe
Currently trying to get PyForms work in Arch but seems that QT5 is quite broken having gone through the docs, I still get weird and wonderful qt5 issues with the start app like for example

/usr/lib/python3.7/site-packages/PyQt5/Qt/lib/libQt5WebEngineCore.so.5: symbol _ZSt24__throw_out_of_range_fmtPKcz version Qt_5 not defined in file libQt5Qml.so.5 with link time reference

QT5-base, PyQT, PyForms etc is on :unsure:

Of course when I do the qt example it works

Code:
import sys
from PyQt5 import QtWidgets

app = QtWidgets.QApplication(sys.argv)
label = QtWidgets.QLabel("Hello world!")

label.show()
sys.exit(app.exec_())

So in this regard should I rather go with Kivy or return to GtK?

Requirement is just basic gui for navigation, input and results.
 
Found the issue and fixed with with this setup order

1. pacman -S python-pip qt5-base python-pyqtwebengine python-pyqt5
2. pip install pyforms
3. pacman -R qt5ct

So next time don't just add the full qt5 but rather python-<dependencies> e.g. python-pyqtwebengine and python-pyqt5 with qt5-base :notworthy:
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X