Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

c++ vs python in using QT



  • Hi,

    I always use QT with c++, but I would like to try using QT with python. And question: is everything what I can do in c++ QT is possible to do in python QT? Are every class moved to python from c++?



  • @TomNow99
    Yes for PyQt5.

    No for PySide2, sadly. It depends which classes/features you use. Obviously the most common ones have been done, but there are still unimplemented areas. Worth checking out what you use before you start out. Though the PySide2 docs don't always say what is not implemented, till you find out.

    And just to be clear: PyQt is GPL, PySide2 is LGPL, so your decision may depend on whether you intend to distribute your application.

    For a purely personal comment: I'm not great fan of Python, I preferred working with Qt C++, especially as a coding-time editing environment. But your mileage may vary.



  • @TomNow99
    Yes for PyQt5.

    No for PySide2, sadly. It depends which classes/features you use. Obviously the most common ones have been done, but there are still unimplemented areas. Worth checking out what you use before you start out. Though the PySide2 docs don't always say what is not implemented, till you find out.

    And just to be clear: PyQt is GPL, PySide2 is LGPL, so your decision may depend on whether you intend to distribute your application.

    For a purely personal comment: I'm not great fan of Python, I preferred working with Qt C++, especially as a coding-time editing environment. But your mileage may vary.


Log in to reply