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?
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hey @tvcsop,
First, to upload the picture, you need to use this:
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.
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:
This will output a list of paths. Look for the path that ends in “site-packages”.
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 nameddesigner.exe
on Windows, and should be located in this “bin” directory.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 thedesigner.exe
file is located using thecd
command, and then type./designer.exe
to run it.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!