【Firefly-RK3399 试用体验】安装qt5

1、更新软件源和升级更新软件

sudo apt-get update
sudo apt-get upgrade

2、安装qt5

sudo apt-get install qt5-default
sudo apt-get install qtcreator

安装完后,在命令行输入qtcreator,会弹出以下界面。

3、配置环境
在option下,选择Build&Run,在Compilers下按add按钮,选择GCC,选择Compilers path:如下图所示。

然后,选择Kits栏,首先要Remove原有的Manual,然后按Add,配置如下图所示。

以上步骤不能弄反,否则无法成功配置。

4、编译运行
新建工程,按左下角的第一个绿色按钮,如果又空白弹窗出现表示配置成功了。

请问可以提供sources.list文件吗?

请问可以提供sources.list文件吗?


出现了这个问题请问怎么办

libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
刚才上面那个图片是这个问题

请问第三步骤中,我的板子中没有这个arm-linux-guneabihf-gcc这个文件,这个和板子Ubuntu系统有关系?还是需要单独安装?
%AZAX2S(XO%AV%}L2M.png

命令行打开qtcreator的时候也是遇到了这些问题,请问有解决方案吗?

初学者,留个脚印。做记号。

gwj 发表于 2018-1-30 16:53
请问第三步骤中,我的板子中没有这个arm-linux-guneabihf-gcc这个文件,这个和板子Ubuntu系统有关系?还是 …

执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf device-tree-compiler lzop libncurses5-dev libssl1.0.0命令就行了

gwj 发表于 2018-1-30 16:53
请问第三步骤中,我的板子中没有这个arm-linux-guneabihf-gcc这个文件,这个和板子Ubuntu系统有关系?还是 …

执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf device-tree-compiler lzop libncurses5-dev libssl1.0.0命令就行了

配置QT之前执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf device-tree-compiler lzop libncurses5-dev libssl1.0.0命令就行了

gwj 发表于 2018-1-30 16:53
请问第三步骤中,我的板子中没有这个arm-linux-guneabihf-gcc这个文件,这个和板子Ubuntu系统有关系?还是 …

执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf device-tree-compiler lzop libncurses5-dev libssl1.0.0命令就行了

请问楼主用Qt写程序卡吗,我这边卡爆了,还不如RK3288流畅

楼主,我这边为什么打开qtcreator特别卡,转到头文件都有延迟

这个qt的版本是多少???

Cannot find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.

我用firefly的rk3399 ubuntu,安装QT后编译运行程序是出现上面问题,有大神解决了吗?

houge101 发表于 2018-6-30 12:08
配置QT之前执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf device-tree-compiler lzop libncurs …

你这种做法是32位的,64位的RK3399不必要这样做,坑我吖

ubuntu arm64 18.04 得 source.list:

deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-security main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse

这个Qt可以运行,但是是最简安装,很多库都没装进去啊

18217556330 发表于 2017-11-6 18:37
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL er …

这个问题你解决了吗