[PyQt] Learn pyqt5 using pyqt4 - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [PyQt] Learn pyqt5 using pyqt4 (/thread-6048.html) |
Learn pyqt5 using pyqt4 - jimclay75051 - Nov-04-2017 I've been studing python for a year and I'm now trying to learn pyqt5. I have found some videos and online pyqt5 tutorials, but when learning something like pyqt I find it most helpful to have a book tht lays everthing out systematically. I cannot find such a book on pyqt5. There are several books on pyqt4. It's my understanding that pyqt4 and pyqt5 are somewhat incompatible, but maybe not completely so. Here's my question: Will studying a book on pyqt4 help me to understand pyqt5 or just confuse me? Just how big are the differences between the two? The book I have in mind is: Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming by Mark Summerfield. RE: Learn pyqt5 using pyqt4 - Larz60+ - Nov-04-2017 It should, new features will become aparent to you as you progress. There should also be a 'what's new' doc somewhere in the qt5 install readme file. RE: Learn pyqt5 using pyqt4 - jimclay75051 - Nov-04-2017 I have looked over the what's new file for pyqt5, and to my eyes there seems to be big diferences. And that makes me reluctant to learn pyqt5 using a pyqt4 book. But I'm not sure. I don't have enough experience to know. It could be all the new stuff in pyqt5 are minor compared to what has not changed. If what I could learn in the pyqt4 book can transfer easily to pyqt5, I will eagerly jump into the book. RE: Learn pyqt5 using pyqt4 - jimclay75051 - Nov-05-2017 With regard to the book I mentioned, Rapid GUI Programming with python and Qt, I found this link that translates the pyqt4 into pyqt5 code, which helps a great deal. I did the first example alarm.pyw and it did work using pyqt5, although I had to comment out the first four lines with "from __future__ ...". So i think this will work for me. Here's the link: https://github.com/suzp1984/pyqt5-book-code RE: Learn pyqt5 using pyqt4 - jimclay75051 - Nov-09-2017 I came on this Youtube video series. Start here if you know nothing about pyqt5: https://www.youtube.com/playlist?list=PLZocUikpczs-Yud2lyFpSNQOvxuPUVBDp Videos are by Mark Winfield. I'm now up to video 12. They are very helpful and go at just the right pace. RE: Learn pyqt5 using pyqt4 - zykbee - Nov-13-2017 They're highly compatible. Shouldn't have any issue learning between the two. |