FAQ_MA35D1_Compile Qt Application with DirectFB by Buildroot
Posted: 06 Jun 2023, 14:51
1. Enable related Qt and DirectFB package
2. Compile the package and pack image
3. If you want to add more Qt library after you have already compiling, you need to clean and re-compile
4. The Qt example is located at the following below
5. If you ran a Qt application with one of the frame buffer type, you cannot run the other one until system reboot
Code: Select all
# make menuconfig
Target packages --->
Graphic libraries and applications (graphic/text) --->
[*] Qt5 --->
-*- qt5base
[*] Compile and install examples (with code)
-*- gui module
[*] widgets module
[*] linuxfb support
[*] directfb support
(linuxfb) Default graphical platform
[*] GIF support
[*] JPEG support
[*] PNG support
[*] Enable Tslib support
[*] directfb
[*] directfb multi application
[*] directfb debugging support
[*] compile /dev/input/eventX input driver
[*] compile keyboard input driver
[*] compile PS2 mouse input driver
[*] compile serial mouse input driver
[*] enable touchscreen support
[*] enable GIF support
[*] enable JPEG support
[*] enable PNG support
[*] enable SVG support
Code: Select all
# make
Code: Select all
# make qt5base-dirclean && make qt5base-rebuild && make
Code: Select all
/usr/lib/qt/examples/widgets/animation/animatedtiles/animatedtiles –platform directfb