Note that there are some explanatory texts on larger screens.

plurals
  1. POPyQt Bloat and Pyinstaller
    primarykey
    data
    text
    <p>I am very new to Qt, and have been using Qt-Designer to generate code to interface with programs I am writing in python. However, when I want to compile them into binaries using pyinstall, I get <code>/dist/</code> sizes of around 60 mb. When using the --onefile option, I am able to get it down to roughly 20 mb.</p> <p>I'm certain the bloat is caused by unnecessary libraries being imported because of Qt. Can anyone point me in the right direction of reducing this alarming bloat? I am positive that 20 mb is severe excess for the trivial applications I am writing. Thank you for your help. </p> <p>Using: Python 2.6.5, pyinstaller 2.0, Qt 4.6.2., PyQt4</p> <p>List of files generated in dist:</p> <pre><code> bz2.so _codecs_cn.so _codecs_hk.so _codecs_iso2022.so _codecs_jp.so _codecs_kr.so _codecs_tw.so datetime.so _heapq.so libaudio.so.2 libbz2.so.1.0 libcrypto.so.0.9.8 libexpat.so.1 libfontconfig.so.1 libfreetype.so.6 libgcc_s.so.1 libGLcore.so.1 libglib-2.0.so.0 libgobject-2.0.so.0 libgthread-2.0.so.0 libICE.so.6 libjpeg.so.62 liblcms.so.1 libmng.so.1 libncurses.so.5 libncursesw.so.5 libnvidia-tls.so.1 libpcre.so.3 libpng12.so.0 libpython2.6.so.1.0 libQt3Support.so.4 libQtCore.so.4 libQtGui.so.4 libQtNetwork.so.4 libQtOpenGL.so.4 libQtSql.so.4 libQtSvg.so.4 libQtXml.so.4 libreadline.so.6 libSM.so.6 libssl.so.0.9.8 libstdc++.so.6 libtiff.so.4 libuuid.so.1 libX11.so.6 libXau.so.6 libxcb.so.1 libXdmcp.so.6 libXext.so.6 libXrender.so.1 libXt.so.6 libz.so.1 _multibytecodec.so PyQt4.QtCore.so PyQt4.QtGui.so qt4_plugins readline.so sip.so </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload