Project

General

Profile

Actions

新建 #180

open

rk3568 qt 运行报错

Added by 余 顺 over 1 year ago. Updated over 1 year ago.

Status:
新建
Priority:
普通
Assignee:
-
Category:
其他
Target version:
Start date:
01/09/2023
Due date:
% Done:

0%

Estimated time:

Description

版型:pro-rk3568

系统:ubuntu

问题:
在Ubuntu系统下运行qt程序,使用linuxfb显示插件正常,但是使用eglfs报错:
Could not open display
Aborted (core dumped)
使用xcb显示插件,也报错:
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
由于我需要使用qml,linuxfb下不支持,只能使用xcb或者eglfs,请问如何才能支持xcb或者eglfs?

Actions #1

Updated by 余 顺 over 1 year ago

类似这种Could not open display 找不到显示设备的

export DISPLAY=:0 # 先配置显示设备

Actions #2

Updated by 余 顺 over 1 year ago

若还是报错,直接在卓面的命令行执行,看是否是同样的报错,若执行成功,查看桌面命令行的的环境变量配置,将其配置到串口,在执行试下

Actions

Also available in: Atom PDF