Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 772 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 772 Bytes

Qt 5 QPA imx6 plugin

This QPA allows rendering on Vivante GPU even when qtbase is not built for i.MX6 which is the case with some general purpose distributions.

Build requirements

  • Qt 5 devel package
  • Vivante drivers in /opt/fsl

How to build and install

cd imx6
qmake-qt5
make
sudo make install

ArchLinux

To avoid linker errors on ArchLinux, please replace the qmake-qt5 command with this:

qmake-qt5 QMAKE_LIBS_PRIVATE+="-lfontconfig -lfreetype -lXrender -lglib-2.0 -ludev -lmtdev"

Make sure you have the gpu-viv-bin-mx6q-fb package installed.

How to use it

Run this command for tests:

QT_QPA_EGLFS_DEBUG=1 qmlscene -platform imx6 <filename>.qml

Replace with the actual name of a QML file.