Firefly开源社区

标题: 【Firefly-RK3399 试用体验】安装qt5 [打印本页]

作者: hgl    时间: 2017-8-23 11:17
标题: 【Firefly-RK3399 试用体验】安装qt5
1、更新软件源和升级更新软件
  1. sudo apt-get update
  2. sudo apt-get upgrade
复制代码

2、安装qt5
  1. sudo apt-get install qt5-default
  2. sudo apt-get install qtcreator
复制代码

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




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




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




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

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






作者: huoooooo    时间: 2017-8-29 18:07
请问可以提供sources.list文件吗?
作者: huoooooo    时间: 2017-8-29 18:08
请问可以提供sources.list文件吗?
作者: 18217556330    时间: 2017-11-6 18:31
I:\Users\Catcher\Desktop\RK3399\rk3399.jpg
出现了这个问题请问怎么办
作者: 18217556330    时间: 2017-11-6 18:37

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
刚才上面那个图片是这个问题
作者: gwj    时间: 2018-1-30 16:53
请问第三步骤中,我的板子中没有这个arm-linux-guneabihf-gcc这个文件,这个和板子Ubuntu系统有关系?还是需要单独安装?

%AZAX2S(XO%[A[V%}L2M.png (7.03 KB, 下载次数: 331)

%AZAX2S(XO%[A[V%}L2M.png

作者: ghostleader    时间: 2018-3-14 16:47
命令行打开qtcreator的时候也是遇到了这些问题,请问有解决方案吗?
作者: mini_peng    时间: 2018-4-22 22:57
初学者,留个脚印。做记号。
作者: houge101    时间: 2018-6-30 12:06
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命令就行了
作者: houge101    时间: 2018-6-30 12:07
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命令就行了
作者: houge101    时间: 2018-6-30 12:08
配置QT之前执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf  device-tree-compiler lzop libncurses5-dev  libssl1.0.0命令就行了
作者: houge101    时间: 2018-6-30 12:11
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命令就行了
作者: ζ轻舞飞扬ζ    时间: 2018-8-31 14:38
请问楼主用Qt写程序卡吗,我这边卡爆了,还不如RK3288流畅
作者: yuyuyusd    时间: 2018-9-17 18:15
楼主,我这边为什么打开qtcreator特别卡,转到头文件都有延迟

作者: ghostking    时间: 2018-10-29 12:45
这个qt的版本是多少???
作者: 2422754416    时间: 2018-11-7 14:34
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后编译运行程序是出现上面问题,有大神解决了吗?
作者: 2422754416    时间: 2018-11-7 15:31
houge101 发表于 2018-6-30 12:08
配置QT之前执行一下$ sudo apt-get install gcc-arm-linux-gnueabihf  device-tree-compiler lzop libncurs ...

你这种做法是32位的,64位的RK3399不必要这样做,坑我吖
作者: 2422754416    时间: 2018-11-8 11:21
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
作者: 黄鑫    时间: 2019-1-22 08:56
这个Qt可以运行,但是是最简安装,很多库都没装进去啊
作者: hemengyue    时间: 2019-9-5 15:09
18217556330 发表于 2017-11-6 18:37
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL er ...

这个问题你解决了吗
作者: Sirius    时间: 2022-5-7 21:22
cy qt安装




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1