首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在/dev/fb1上运行QT5.3应用程序

在/dev/fb1上运行QT5.3应用程序
EN

Stack Overflow用户
提问于 2014-09-10 11:20:55
回答 1查看 2.2K关注 0票数 1

我想在ARM板的fb1上运行Qt应用程序。我试着跑

代码语言:javascript
复制
`./QTExample -platform directfb`  

在minicom中,但我没有输出窗口,但有以下日志:

代码语言:javascript
复制
(*) DirectFB/Core: Single Application Core. (2014-09-08 11:26) 
(*) Direct/Memcpy: Using armasm_memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'tegra_fb' (ID 0) with frame buffer at 0xf7c00000, 18432k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Logitech USB-PS/2 Optical Mouse (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: CHICONY HP Basic USB Keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver 
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 640x480 RGB32
(*) FBDev/Mode: Switched to 640x480 (virtual 640x960) at 32 bit (RGB32), pitch 2560
(*) FBDev/Mode: Setting 640x480 RGB32
(*) FBDev/Mode: Switched to 640x480 (virtual 640x960) at 32 bit (RGB32), pitch 2560
 (!!!)  *** UNIMPLEMENTED [fusion_get_fusionee_pid] *** [fusion.c:3517]

我的想法是,它试图在/dev/fb0 0上运行,这不是我想要的。我的问题是,如何指示如何在/dev/fb1上运行应用程序?

EN

回答 1

Stack Overflow用户

发布于 2014-09-10 12:36:42

根据,您应该能够指定-platform linuxfb:fb=/dev/fb1,并且它应该能够工作,尽管我不太确定linuxfbdirectfb有什么不同(linuxfbdirectfb似乎都被提到为Qt插件,但名称在许多地方是可以互换使用的),但您仍然可以尝试。

编辑

我四处看看,因为我在空闲时间也经常使用QT/embedded设备,这看起来很有趣。Qt源代码在directfb插件代码中没有显式地声明设备id (至少据我所见),但是根据directfb.org中的 wiki页面,您实际上可以在文件中为directfb提供配置。因此,基本上您可以尝试用一行~/.directfbrc创建一个文件devfb=/dev/fb1。希望这能行。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25764062

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档