本文前提是已经安装pycharm和pyqt以及qttools5-dev-tools
遇到问题如下:
QStandardPaths: wrong ownership on runtime directory /run/user/1000/snap.pycharm-community, 0 instead of 1000
QStandardPaths: wrong ownership on runtime directory /run/user/1000/snap.pycharm-community, 0 instead of 1000
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
操作以下代码:
cd /run/user/1000
chown 用户名.用户名 snap.pycharm-community
至此,解决第一个问题。
第二个问题,参照https://wiki.archlinux.org/index.php/Libpng_errors
这是一个警告,可以不处理,不会影响操作。