Question

Start Qt Designer application? How? Where?

Greeting! Windows 10, Python11, Qt Designer application in virtual environment. I want to start it but I can’t find it!? Can anyone help? Thanks.

How can I upload a picture here?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
July 16, 2023
Accepted Answer

Hey @tvcsop,

First, to upload the picture, you need to use this:

![image alt text](https://assets.digitalocean.com/public/mascot.png "image caption")

As for the application, I would assume you want to do this locally as DigitalOcean does not offer Windows 10 by default. Here is a step-by-step guide to doing so.

  1. Install PyQt5-tools: The PyQt5-tools package includes Qt Designer. It is not included in the base PyQt5 package. Here’s how to install it:

In your terminal (Command Prompt on Windows, Terminal on macOS/Linux), activate your virtual environment and run:

pip install pyqt5-tools
  1. Find where PyQt5-tools was installed: Python packages get installed in your Python site-packages directory. You can find this location by running:
python -c "import site; print(site.getsitepackages())"

This will output a list of paths. Look for the path that ends in “site-packages”.

  1. Locate Qt Designer: In the site-packages directory, find the pyqt5_tools directory. Inside this directory, you will find a “Qt/bin” directory. The Qt Designer executable is named designer.exe on Windows, and should be located in this “bin” directory.

  2. Launch Qt Designer: You can launch Qt Designer by double-clicking on the designer.exe file in File Explorer. If you want to launch it directly from the command line, navigate to the directory where the designer.exe file is located using the cd command, and then type ./designer.exe to run it.

cd <path-to-pyqt5_tools>/Qt/bin
./designer.exe

Replace <path-to-pyqt5_tools> with the path you found in step 2. If your path contains spaces, enclose it in quotes.

These steps assume that you’re using Windows, as indicated in your question. The exact details might be slightly different on other operating systems. If you’re having trouble, let me know!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel