View Single Post
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#24
Pyqt-5.1 was released today.
http://riverbankcomputing.co.uk/news/pyqt-51d

Seems to work just fine so far. Had some rendering problems earlier but that turned out to be a gpu driver problem but I upgraded my graphics stack, and now it runs smooth as silk. Qml2 runs in opengl, on linux at least, so your drivers must support that.

Outside of namespace changes the only problem I've run into so far has been that you have to use super() with multiple inheritance in pyqt5. And I can't for my life get my friggin imageprovider to work. The requestPixmap method somehow takes one parameter less than it should and then qml just spits out "TypeError: invalid result type from ImageProvider.requestPixmap()". I've tried anything I can possibly think of in my own code ... could be a bug in qt or pyqt. Other than that it seems to work just fine. Hopefully it works good on arm/wayland too on Sailfish.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).
 

The Following 3 Users Say Thank You to xerxes2 For This Useful Post: