1
我想在ARM板的fb1上運行Qt應用程序。我試圖運行在/ dev/fb1上運行Qt 5.3應用程序
`./QTExample -platform directfb`
從小型機
,但我沒有得到任何輸出窗口,但以下日誌:
(*) 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設備運行的是不是我想要的。我的問題是,我怎麼能指導對的/ dev/FB1運行應用程序
directfb是一個開源庫,而linuxfb允許QT應用程序直接寫入幀緩衝區 – Hamzahfrq 2014-09-10 14:33:35
我已經嘗試過所有-platform參數的組合,沒有任何成功 – Hamzahfrq 2014-09-10 14:35:03
@Hamzahfrq你可以檢查DirectFB配置文件是否如上所述編輯? – 2014-09-10 16:14:28