Braden
Braden

Reputation: 749

Installing PyQt5 (incl. Qt Designer) on macOS (Sierra)

Can anyone explain (or point me to instructions on) how to install PyQt5 for macOS (Python 3.6) that includes the QT Designer application?

I've been searching the internet for the past few days and I just cannot get it to install.

I've tried the manual installation but get stuck on the --qmake and I've tried pip install PyQt5 but this does not have the Qt Designer.

Edit:

This is not a duplicate of previous question, the previous question talks to a) windows operating system and b) provides the solution of using pip install pyqt5-tools which is not available for macOS

Upvotes: 2

Views: 5530

Answers (2)

Miguel Rentes
Miguel Rentes

Reputation: 1003

I used brew install Qt5 and then open -a Designer will start Qt Designer. After that I installed PyQt5 with pip install pyqt5.

Upvotes: 3

Jamil M.
Jamil M.

Reputation: 71

The QT Designer is a separate tool that uses PyQt widgets. It is not included in the PyQt5 framework which is why you won't find a PyQt5 library that comes with it. In order to acquire it you must install Qt Designer separately from your PyQt installation.

Once you have installed PyQt5, install PyQt5Designer like so: pip install PyQt5Designer

If pip doesn't work for you I would recommend trying another package manager such as:

If neither of these package managers work try via the stand-alone installer from this link: https://build-system.fman.io/qt-designer-download

Hope this helps.

Upvotes: 0

Related Questions