Firefly开源社区

[Linux] rv1126, 烧录buildroot 版本 QT应用无法显示

25

积分

0

威望

0

贡献

技术小白

积分
25
发表于 2025-7-2 16:48:19     
问题描述及复现步骤:
通过 qml 不能正常开启 QT, 请提供正常可以开起 QT 的版本,和操作指导文档。


[root@RV1126_RV1109:/]# cat /tmp/test.qml
import QtQuick 2.0
Rectangle {
    width: 200; height: 200
    color: "green"
    Text { text: "Qt Works!"; anchors.centerIn: parent }
}


[root@RV1126_RV1109:/]# qml /tmp/test.qml -platform linuxfb
Unable to figure out framebuffer device. Specify it manually.
linuxfb: Failed to initialize screen
Segmentation fault (core dumped)


[root@RV1126_RV1109:/]# qml /tmp/test.qml  -platform eglfs
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".

Available platform plugins are: linuxfb, minimal, offscreen, vnc.

Reinstalling the application may fix this problem.
Aborted (core dumped)




log.zip

12.7 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © 2014-2022 中山市天启智能科技有限公司 粤ICP备14022046号
快速回复 返回顶部 返回列表