文章标签 ‘pyqt’
1、使用png格式作为文件图标可能会造成打包程序执行的python进程崩溃,最近在打包一个程序的时候在2.6、2.7的32及64位版本下均遇到了此问题 2、打包2.6及以上版本程序时需要将msvcp90.dll打包进去。否则到了其他的机器上可能出现缺少动态链接库的问题。同时还要包含Microsoft.VC90.CRT.manifest这个文件,否则也会缺少dll 3、程序本身的manifest文件要包含以下的内容 <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> 否则也会出现缺少动态链接库。
