关于Pyuic4转换成.py文件报错的问题

使用pyuic4 $Filename$ -o $FileNameWithoutExtension$ 将.ui文件转换成.py文件过程中,出现了错误:

An unexpected error occurred.
pyuic4: Check that you are using the latest version of PyQt and send an error report to
pyuic4: [email protected], including the following information:
pyuic4: 
pyuic4:   * your version of PyQt 

pyuic4:   * the UI file that caused this error


将.ui文件中的中文字体改成英文可通过编译

由于不识别中文字体,大家在使用过程中避免踩雷!

你可能感兴趣的:(关于Pyuic4转换成.py文件报错的问题)