本文介绍了在Ubuntu上安装Qt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要构建简单的 GUI 应用程序.因此,我决定在Ubuntu 16上安装Qt.我已经下载了开源Qt版本从他们的网站上.运行时出错:

Need to build simple GUI application. For this reason I decided to install Qt on my Ubuntu 16. I have downloaded open source Qt edition from theirs site. Got error while run:

g@ubuntu:~/Downloads$ ./qt-unified-linux-x86-2.0.5-2-online.run
./qt-unified-linux-x86-2.0.5-2-online.run: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

该如何解决?

推荐答案

Ubuntu软件包名称是 qt5-default ,而不是 qt .

The ubuntu package name is qt5-default, not qt.

这篇关于在Ubuntu上安装Qt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 03:09
查看更多