简体   繁体   English

缩小py2exe和pyqt的大小

[英]Reduce Size py2exe and pyqt

I just used py2exe to compile my python app that uses pyqt. 我只是使用py2exe来编译使用pyqt的python应用程序。 The size of it is 23MB. 它的大小是23MB。 The Pyqt libraries (PyQt4.QtCore.pyd, PyQt4.QtGui.pyd, QtCore4.dll and QtGui4.dll) sum more than 17MB. Pyqt库(PyQt4.QtCore.pyd,PyQt4.QtGui.pyd,QtCore4.dll和QtGui4.dll)总大小超过17MB。 Is there a way to use QT with a reduced size? 有没有办法使用减小尺寸的QT?

Thank you! 谢谢!

PyQt is essentially a wrapper around Qt. PyQt本质上是Qt的包装。 In theory it should be possible to use Qt without PyQt, but you'd have to make the bindings yourself. 从理论上讲,可以在不使用PyQt的情况下使用Qt,但是您必须自己进行绑定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM