![]() ![]() ![]() I used some of the example programs that came with Qt for Python as a reference for how to implement various features in Python. I started with the main program, then continued with the smaller and simpler classes, and finally the larger classes including the one for the main window. I then started porting the C++ application to Python by pasting in the C++ code for each class and converting it to Python. I installed the initial tech review release of Qt for Python on an Ubuntu Linux 18.04 desktop (laptop) system. ![]() This is a moderately complex (about 1000 lines of C++ source code) widget-based desktop application that originally came from the book C++ GUI Programming with Qt 4, that I had ported to Qt 5 some time ago. I decided to try porting a spreadsheet example program. In this blog post I'll share some of my thoughts and experiences with porting a real Qt application from C++ to Python. I have some experience with Python, including using it with the PyQt Python bindings, so I thought I would take a closer look at how Qt for Python is coming along. In June 2018, the first technical preview was offered, built against the Qt 5.11 release. Earlier this year, The Qt Company announced that Python would be officially supported in Qt via the Qt For Python (formerly PySide2) Python bindings and tooling. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |