Categories: Quant Development

How to install Qt Designer onto Ubuntu Linux for Python

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/

 

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

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

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

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!
caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs

Recent Posts

Renaissance’s Meme Stock Bet Insider Trading or Savvy Investing?

The recent meme stock frenzy has reignited the spotlight on GameStop (GME) and AMC Entertainment…

11 hours ago

Conversation with a Quantitative Trading Legend – Questions for Dr. Ernie Chan

What would questions for Dr Ernie Chan be if you had the chance? I will…

1 day ago

AI and Technical Analysis: Can AI Predict Bitcoin’s Future?

This article explores Bryan's experiment using AI tools (Copilot and Gemini) for technical analysis on…

3 days ago

Algo Trading, Transparency, and Building Your Trading Journey with Quantlabs.net V2

Unveiling the Future: Algo Trading, Transparency, and Building Your Trading Journey with Quantlabs.netBuckle up, traders!

3 days ago

Level Up Your Algo Trading: From Free YouTube to Premium Course

While that playlist provided a valuable introduction, the world to level up you  algo trading…

5 days ago

New Streamlined Python Client for Interactive Brokers Client Portal Web API

a recently developed Python client library designed to simplify and enhance your experience with the…

5 days ago