FAQ_MA35D1_Compile Qt Application with DirectFB by Buildroot

Post Reply
ytliu6
Posts: 80
Joined: 08 Nov 2022, 10:28

06 Jun 2023, 14:51

1. Enable related Qt and DirectFB package

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
2. Compile the package and pack image

Code: Select all

# make
3. If you want to add more Qt library after you have already compiling, you need to clean and re-compile

Code: Select all

# make qt5base-dirclean && make qt5base-rebuild && make
4. The Qt example is located at the following below

Code: Select all

/usr/lib/qt/examples/widgets/animation/animatedtiles/animatedtiles –platform directfb
5. If you ran a Qt application with one of the frame buffer type, you cannot run the other one until system reboot

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests