Ubuntu 20.04 LTS 安装qt4 library

   日期:2020-10-05     浏览:403    评论:0    
核心提示:How to Install Qt4 Libraries in Ubuntu 20.04 LTSJuly 9, 2020—3 CommentsThe Qt4 framework has been removed from Ubuntu 20.04 main repository. It is however still required for some obsolete applications.Though it is not recommended, you can stil...

How to Install Qt4 Libraries in Ubuntu 20.04 LTS

July 9, 2020 — 3 Comments

 

The Qt4 framework has been removed from Ubuntu 20.04 main repository. It is however still required for some obsolete applications.

Though it is not recommended, you can still get Qt4 libraries (e.g., libqt4-declarativeqt4-dev-toolsqt4-qmakelibqtwebkit4, and more) as software dependencies or for building an application via this third-party PPA.

1.) Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching for ‘terminal’ from your system application launcher. When terminal opens, run command:

sudo add-apt-repository ppa:rock-core/qt4

Type user password (no asterisk feedback) when it prompts and hit enter.

2.) After adding the PPA, it should automatically refresh the system package cache. On some Ubuntu derivatives, you may run command to manually update the package cache:

sudo apt update

3.) Finally install the software .deb package, and it should automatically install the required Qt4 libraries after running sudo apt -f install.

Or you may install specified Qt4 package by running command:

sudo apt install PACKAGE_NAME

See here for a full list of available Qt4 libraries.

Uninstall Qt4:

To remove the PPA, run command:

sudo add-apt-repository --remove ppa:rock-core/qt4

To remove all Qt4 libraries, run command:

sudo apt remove --autoremove libqt4* libqtcore4 libqtgui4 libqtwebkit4 qt4*

 

 
打赏
 本文转载自:网络 
所有权利归属于原作者,如文章来源标示错误或侵犯了您的权利请联系微信13520258486
更多>最近资讯中心
更多>最新资讯中心
0相关评论

推荐图文
推荐资讯中心
点击排行
最新信息
新手指南
采购商服务
供应商服务
交易安全
关注我们
手机网站:
新浪微博:
微信关注:

13520258486

周一至周五 9:00-18:00
(其他时间联系在线客服)

24小时在线客服