The wiki is in the process of moving to Please make your edits there.

Broadcom97425 | Qt Wiki | Qt Project

Qt on the Broadcom 97425

Hardware Specs

OpenGLOpenGL ES 2.0
Hardware accelerationDirectFB, JPEG decoding
VideoGStreamer Elements
Qt 4.8 (DirectFB/QWS)Supported, no OpenGL
Qt 4.8 (eglnullws/QWS)Supported, with OpenGL
Qt 4.8 (eglfs/QPA)Supported, with OpenGL
Qt 5.0 (eglfs/QPA)Supported, with OpenGL
Qt 5.0 (DirectFB/QPA)Supported, with OpenGL

Device Information / Hardware

The Broadcom 97425 is a powerful dual core MIPS set-top-box reference design. The
hardware is capable of running QtQuick2/SceneGraph. Broadcom provides an optimized
version of DirectFB for 2D graphics, input and image decoding. The multimedia architecture
is based on GStreamer. Broadcom provides pipeline elements to access their hardware.

Software provided by Broadcom

Broadcom provides customers with the AppLibs and RefSW. The last tested version is 20111222
for the RefSW 20111222. The rockford 3D library needs to link to DirectFB to avoid
missing symbols when loading the DirectFB/QPA plugin. The patch was provided to Broadcom and
should be included in future versions.

Building AppLibs/RefSW for Qt

Qt5 DirectFB/QPA

Building Qt

  1. # This assumes that DirectFB was built in multi application mode
  2. $ export PKG_CONFIG_PATH=BCtree/AppLibs/opensource/directfb/bin/DirectFB-1.4.15_multi_release_build.97425B1/usr/local/lib/pkgconfig/
  3. $ mkdir build-qtbase
  4. $ cd build-qtbase
  5. $ ../build-qtbase/configure -release \
  6.      -device linux-mipsel-broadcom-97425-g++  \
  7.      -no-xcb -no-eglfs \
  8.      -device-option B_REFSW_DEBUG=n \
  9.      -device-option BRCM_ROCKFORD_PATH=BCtree/rockford \
  10.      -device-option BRCM_APPLIBS_PATH=BCtree/AppLibs \
  11.      -opengl es2 \
  12.      -no-mips_dsp -no-mips_dspr2 \
  13.      -directfb \
  14.      -force-pkg-config
  15. $ make install

Running Qt
  1. $ export QT_QPA_PLATFORM=directfbegl
  2. $ ./wiggly