24

I just installed Qt 5.4.1 on Windows 7. And there is no QtDesigner. Also there is no QtDesigner in MaintenanceTool.
How can I install it?

Ufx
  • 2,595
  • 12
  • 44
  • 83

11 Answers11

81

You can install and find QT Designer as follows (Windows environment):

  • Install latest QT (I'm using 5.8) from QT main site
  • Make sure you include "Qt 5.8 MinGW" component
  • QT Designer will be installed in C:\Qt\5.8\mingw53_32\bin\designer.exe
  • Note that the executable is named "designer.exe"

UPDATE - there is an easier way to install QT Designer without downloading GB's of data from QT:

  • Install the latest version of "pyqt5-tools" using pip install pyqt5-tools --pre

  • The "designer.exe" will be installed in ...Lib\site-packages\pyqt5_tools

akej74
  • 1,174
  • 10
  • 8
  • 11
    someone give this guy a cookie THANK YOU ! – Itachi Sama Jun 11 '17 at 14:28
  • 16
    For an even smaller download, try my [standalone installer](https://build-system.fman.io/qt-designer-download). It's less than 40MB and doesn't even require Python. – Michael Herrmann Oct 31 '18 at 14:57
  • I've always used the pyqt5-tools method, but today I noticed that it downgraded my PyQt from 5.12.2 to 5.11.3 which was beyond my intent. Switched to @MichaelHerrmann's standalone installer for the time being. – Antony Hatchkins Jun 21 '19 at 19:39
  • @AntonyHatchkins, according to [pyqt5-tools issue #26](https://github.com/altendky/pyqt5-tools/issues/26) it should work providing the --pre flag, but I haven't tested this myself. – akej74 Jun 24 '19 at 17:55
  • Oh, yes, I didn't mention it but I tried both with and without the --pre flag. They require a new flag nowadays: `pip install --pre pyqt5-tools~=5.12`. This is better than just `--pre` in that it works with 5.12, but still not ideal: it uninstalls the 5.12.2 qt I currently have and installs 5.12.1 instead. – Antony Hatchkins Jun 25 '19 at 04:37
  • For anyone doing this the 5.12 version of pyqt5-tools is still in pre-release at the moment (https://pypi.org/project/pyqt5-tools/#history) so the "--pre" option is still needed. – Étienne Jul 02 '19 at 09:59
  • 1
    For pyqt6-tools it's in qt6_applications\Qt\bin – Alan B Aug 24 '21 at 10:39
8

If you are on macOS and use brew you may have installed qt already using brews installer.

In that case you already have QT Designer installed even though it is not mentioned anywhere.

You can find it here: /usr/local/Cellar/qt/<qtversion>/libexec/Designer.app

So to place it in your local apps folder you can create a symlink to it like this:

ln -sf /usr/local/Cellar/qt/5.11.1/libexec/Designer.app ~/Applications/.
StonyBoy
  • 89
  • 1
  • 2
  • I was struggling to find the download page, and thanks to your answer just tried, and my Mac found it itself. No clue where it came from, as I didn't use brew (at least not knowingly). Looks like everything was installed automatically by PyCharm. – texnic Feb 23 '19 at 10:21
3

Install QtDesigner on windows:

https://build-system.fman.io/qt-designer-download

install designer on Linux:

It can be installed using the apt package manager

sudo apt-get install python-qt4 qt4-designer

run the command designer and it will work for you

if it doesn't try /usr/bin/designer

enter image description here

it worked for me i am using python 3.6 with pyqt-5.16

HamzaMushtaq
  • 1,660
  • 13
  • 13
1

It is there. Create a form, click on the .ui file and it opens automatically.

Gábor Angyal
  • 2,225
  • 17
  • 27
1

Install the latest version of "pyqt5-tools" using pip install pyqt5-tools --pre

Then run the command (designer.exe) then you are good

Christian Begg
  • 77
  • 1
  • 2
  • 9
1

pip install pyqt5-tools

refer: https://pypi.org/project/PyQt5Designer/

run the following commands in the given sequence

pip install PyQt5Designer

designer.exe

then press Enter. This opens Qt Designer window.

Vaishnavi
  • 11
  • 3
1

As of January 2023, the official Qt website does not provide Qt Designer as a standalone Application. Qt Designer can be obtained from:

Official source

  • Qt Creator + Qt base package
    • Offline installer for Qt Creator (Qt account required, has integrated Designer)
  • Qt base package
    • Online installer (Qt account required)
      Custom Installation, select component
      Qt-->{Qt Version of choice}-->{Architecture (usually MSVC 64-bit / Mingw64)}
    • aqtinstall (NO account needed)

In all official installations, the standalone designer.exe is located in the Qt bin folder (for Windows usually C:\Qt\{Version}\{Architecture}\bin).

Third party standalone applications
(potentially outdated)

For Qt newcomers, using Designer in Creator may be the better choice as it is very straightforward. Advanced users looking to set up a custom build infrastructure may be interested in aqtinstall instead.

linwownil
  • 69
  • 1
  • 3
0

Expanding StonyBoy answer. If you are on macOS, you have installed Qt5 with brew, and you want to access the Qt5 Designer app via command line (like on Linux), you can set a symlink to the actual executable as well, like this:

ln -sf /usr/local/Cellar/qt/5.13.1/libexec/Designer.app/Contents/MacOS/Designer /usr/local/opt/qt/bin/designer

This way, the designer command will be placed in the bin folder, together with the other Qt5 executables (as qmake). Thus, you will be able to launch it simply by typing designer in your shell.


Note: of course you must have the path of the Qt5 bin/ folder added to your PATH environmental variable, for being able to directly call designer in the shell. But brew added it for you when you installed Qt5.

rmbianchi
  • 6,241
  • 6
  • 26
  • 27
0

I got pyqt5 installed along with the tools when I pip install pyqt5-tools. If you prefer PySide2, qt-tools will work better. You can emulate a "dry-run" by creating a fresh, disposable virtual environment to test on. Obvious, I know, but I use them infrequently enough that it takes me a while to remember sometimes :)

sfaleron
  • 61
  • 1
  • 3
0

On Windows, install Qt Design Studio.

After installing it, you should be able to find designer.exe by searching for it in the installation directory (using the Windows Explorer find tool for example).

For example in my case, I had installed Qt Design Studio 4.2.0 using the Qt online installer, using D:\Qt as installation directory.

designer.exe was then under:

D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\designer.exe

Here is a screenshot of what components I selected during the installation:

screenshot of components selected during Qt installation

Tested on Windows 11.

KIAaze
  • 340
  • 1
  • 13
-2

I found it here:

..\Lib\site-packages\qt5_applications\Qt\bin

  • 1
    When answering to old questions, provide enough details(like version, platform, etc.,) to support tools asked in question as well as later releases of the tool. Original poster may not be looking for answer now, but whoever searching for similar issue will find it useful if it addresses later version of tools. – kann Oct 27 '21 at 13:00