How to install Qt Designer onto Ubuntu Linux for Python

(Last Updated On: April 30, 2016)

How to install Qt Designer onto Ubuntu Linux for Python


Note important update about QT Designer below!!
This is the easiest way using an Ubuntu Linux Virtual Machine with Virtual Box




Join my FREE newsletter to learn more how I plan to build PYTHON front ends with this tool for automated trading

"Switching" to Python. GUIs vs. Web apps from Python

Qt Creator has had support for python since version 2.8. The latest version is 3.3.

As you mention, with PyQt, licensing for commercial development ins’t free.

One alternative you don’t metnion is PyOtherside which is a Qt 5/QML plugin that allows you to (mostly) use Python for your backend code instead of Javascript. While Qt Creator does havea QML designer, you may find that the language is declarative enough that you prefer writing it by hand. I, for instance, use my qmlive tool when creating QML apps*, which allows me to do live coding. If you need something more native looking, QML does have Qt Quick Controls which provides native widgets for Windows, Linux, Mac, Android, and (I think) iOS). One final benefit of going the QML route is that in practice, it’s language independent. For instance, the little demo in the video started out with a javascript backend, then I ported it to Haskell, though I could have easily done the same with Python.

  • The tool currently doesn’t work with using QML Controls and I haven’t updated it since creating it since I primarily do web development at the moment.


4 down vote accepted

All the tools you need are included in Ubuntu repositories. You must install the package qtcreator, which has an integrated QtDesigner, and the package pyqt5-dev-tools, which provides pyuic5, a utility that generates Python code from .ui files.

sudo apt-get install qtcreator pyqt5-dev-tools

To convert to Python use:

pyuic4 editorFrame.ui -o editorFrame.py


You may need to install utility so use:

apt-get install pyqt4-dev-tools

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
share this recipe:

Still hungry? Here’s more

Gain an Edge in Your Trading Journey with TraderSync

Look no further! In this post we will explore the key features and benefits of three popular trading journals: TraderSync, TraderVue, and TradeMetria. By the end, you’ll discover why TraderSync is the ultimate choice for traders seeking a comprehensive and user-friendly trading journal.

Read More

Are you interested in: