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
https://apps.ubuntu.com/cat/applications/qt4-designer/
https://quantlabs.net/blog/2015/12/running-qt-designer-with-python-pyqtgraph/
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.
http://askubuntu.com/questions/612314/how-to-install-pyqt-for-python3-in-ubunt-14-10
All the tools you need are included in Ubuntu repositories. You must install the package
|
To convert to Python use:
pyuic4 editorFrame.ui -o editorFrame.py
http://askubuntu.com/questions/264037/how-to-use-qt-creator-with-python
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!