Connecting python and qt without using pyside6
-
This post is deleted!
-
What about PyQt5 ?
https://doc.bccnsoft.com/docs/PyQt5/installation.html#It says "Wheels are provided for 32- and 64-bit Window" so maybe it also comes in 32 bit version?
PyQt4 is very old.
In any case, you have created a widget.
You could add a button to it. connect its clicked signal to a slot
and call your connect function there.https://zetcode.com/gui/pyqt4/firstprograms/
You still need a main that creates a QApplication for Qt to work.
Also since your app has a main already, you should create the QApplication (as first thing) or
refactor the app so what ever main does can be called from the new main.