目前找到的新版ubuntu安装qt4资料,切换为清华大学镜像,添加rock-core库等都无效。以下内容亲测可用。
1、首先确保删除你已添加的其他ppa源!仔细核对“没有Release文件”的源地址,用以下命令删除无效源:
add-apt-repository -r ppa:PPA NAME
2、添加源:
sudo add-apt-repository ppa:ubuntuhandbook1/ppa
3、更新库:
sudo apt update
4、安装qt4
sudo apt install qt4-default
5、运行成功