RK3588S使用实时固件RTLINUX_ubuntu20.04时,打开qtcreator报错

固件类型:官方提供的固件
固件文件名称:ROC-RK3588S-PC-RTLINUX_Ubuntu20.04-Gnome-r240_v1.1
固件下载地址:百度网盘
Log日志:log.tar

本帖最后由 Gawa 于 2023-12-19 11:13 编辑

通过以下命令安装qtcreator
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo apt-get install qtcreator
sudo apt-get install qt5*

然后用 sudo qtcreator 打开报以下错误
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
arm_release_ver of this libmali is ‘g6p0-01eac0’, rk_so_ver is ‘7’.
arm_release_ver of this libmali is ‘g6p0-01eac0’, rk_so_ver is ‘7’.
error: XDG_RUNTIME_DIR not set in the environment.
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
The X11 connection broke: Unsupported extension used (code 2)
XIO: fatal IO error 0 (成功) on X server “:0”
after 397 requests (6 known processed) with 0 events remaining.
ConnectionServer error: “QLocalSocket: Remote closed” “/tmp/QtCreator-NJNkVU/ClangBackEnd-195260”

我还使用了固件( ROC-RK3588S-PC_Ubuntu20.04-Gnome-r30028_v1.1.1b_230914)按照以上步骤是可以打开qtcreator的
所以是不是实时固件的问题?该如果解决?

tchip_askquestions


log.tar (700 KB)

rtlinux固件的系统默认的是用wayland,如果需要切换到x11, 执行下面操作:
注销,回到用户登录界面,右下角设置里可以选择x11

dengkx 发表于 2023-12-19 14:05
rtlinux固件的系统默认的是用wayland,如果需要切换到x11, 执行下面操作:
注销,回到用户登录界面,右下角 …

切换后可以了,如果想wayland上使用qtcreator不可以是吗?