Qt for Python/Porting guide

From Qt Wiki
< Qt for Python
Revision as of 11:34, 4 April 2019 by Venu (talk | contribs) (InitialDraft!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Qt for Python is an offering that enable developing Qt applications in a pythonic way. I guess, that didn't go well with most you who have been using Qt for years! Let's try to rephrase, Qt for Python is a binding for Qt, to enable application development using Python. Ah..that sounds about right! Isn't it? So, the idea behind Qt for Python or PySide2 is probably clear now. Let's see what does it take to port an existing Qt C++ Application to Python. Before we start digging deeper into this topic, let's ensure that we have all the prerequisites met. For example, installing either Python2 or Python3, and so on. Wait a minute, isn't this information outlined outlined in the Getting started section of the documentation. In that case, I'll prefer to dive straight into the topic.

Assuming that you have required environment to develop Python applications using PySide2(Qt for Python), let's get started. But, we need a C++-based Qt application to port, let's see what we have got...