Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build PyQT project?

I have a simple PyQT project. I would like to know how to build it in Windows in such way, that it becomes runnable executable. I don't want to require user to install heavy QT framework for his computer. How to make executable with only necessary parts of QT?

like image 975
user44556 Avatar asked Mar 02 '09 12:03

user44556


People also ask

Is PyQt good for GUI?

PyQt is one of the toolkits you can use to develop cross-platform GUI applications in Python. It is powerful and easy to learn if you already have a firm grasp of this language.

What IDE should I use for PyQt?

Wing Pro is a Python IDE that can be used to develop, test, and debug Python code written for the PyQt cross-platform GUI development toolkit.

What is PyQt builder?

What is PyQt-builder? PyQt-builder is the PEP 517 compliant build system for PyQt and projects that extend PyQt. It extends the SIP build system and uses Qt's qmake to perform the actual compilation and installation of extension modules. Projects that use PyQt-builder provide an appropriate pyproject.

Is pyqt5 used in industry?

Who uses PyQt? 4 companies reportedly use PyQt in their tech stacks, including apps, EVE Robotics, and Hiri.


1 Answers

I use py2exe for deploying a Windows standalone GUI cross-platform (under Linux, all the python libs are available on the Linux hosts). You run the py2exe "setup" to build an .exe+, and py2exe pulls the binary bits and your python code and builds into a loadable, runnable Windows executable pack.

Python 2.5 on windows was the long-time requirement, but the recent 0.6.9 release added python2.6 (and python2.7?) support. No python3 yet.

Also, you may want to consult Py2exeAndPyQt on py2exe wiki.

like image 77
popcnt Avatar answered Oct 11 '22 00:10

popcnt