PyQt 图标问题 ,cx_Freeze 打包后图标无法显示

来源:互联网 发布:身份证相片制作软件 编辑:程序博客网 时间:2024/05/19 00:11

将C盘的:C:\Python26\Lib\site-packages\PyQt4\plugins\PyQt4\plugins 下面imageformats 文件夹,整个拷贝到打包好的文件夹目录


executables = [
        Executable("SMC.py",base = base,icon = "icon.ico")
]


        include_files=["config.ini","map.xml","icon.ico"]



0 0
原创粉丝点击