且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

QVFB无法显示-QT for嵌入式Linux演示示例

更新时间:2023-11-19 23:00:58

我能够找出问题所在。

您将需要两个版本的Qt。普通版本(使用默认配置设置)和嵌入式版本(在configure中启用-embedded,-qt-gfx-qvfb选项)。

You will need two build of Qt. A normal build(using default configure settings) and an Embedded build(with -embedded,-qt-gfx-qvfb options enabled in configure).

构建,在常规构建中编译qvfb并启动它。

When you have both the builds, compile the qvfb in the normal build and launch it.

在嵌入式构建中,编译要在qvfb中运行的应用程序,然后使用-qws启动该应用程序

In the embedded build, compile the application which you want to run in qvfb and launch the app with -qws flag.

ie ./myapp -qws

i.e. ./myapp -qws

该应用程序将显示在qvfb中。

The app will be displayed in the qvfb.