Crosscompile Raspi3 buttons faulty
-
Hey there,
i want to cross compile from Ubuntu 16.04 to raspi3.
i am looking for this tutorial: https://wiki.qt.io/RaspberryPi2EGLFS
after i tried the example:
cd qtbase/examples/opengl/qopenglwidget
~/raspi/qt5/bin/qmake
make
scp qopenglwidget pi@raspberrypi.local:/home/pithe interesting thing is, that i can see the rotating hologram. (so i think
but there is no text in the buttons or tabs. mybe i can later give you an screenshot, i necessary?!please. need some help.
-
Hi and welcome to devnet,
Do you have any font in that folder ?
-
Great !
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
-
ok. problem solved.
i had to set the variables in ~/.bashrc with nano e.g.:
sudo nano ~/.bashrcexport QT_QPA_EGLFS_PHYSICAL_WIDTH=528
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=295
export QT_QPA_FONTDIR=/usr/share/fonts/truetypeafter closing nano in terminal:
source ~/.bashrc