mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 16:24:17 -09:00
package/qt6/qt6base: add support for jpeg/png/gif image format
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
bf5c0db35a
commit
6d91bc90af
@@ -76,6 +76,25 @@ config BR2_PACKAGE_QT6BASE_HARFBUZZ
|
||||
if the toolchain supports __sync for 4 bytes, or the qt
|
||||
provided one which avoids this dependency by using QAtomic).
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_GIF
|
||||
bool "GIF support"
|
||||
help
|
||||
This compiles and installs the plugin for GIF reading support.
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_JPEG
|
||||
bool "JPEG support"
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
This option enables JPEG support using the system libjpeg
|
||||
library.
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_PNG
|
||||
bool "PNG support"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
This option enables PNG support using the system libpng
|
||||
library.
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_NETWORK
|
||||
|
||||
@@ -188,6 +188,26 @@ else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_harfbuzz=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_PNG),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_png=ON -DFEATURE_system_png=ON
|
||||
QT6BASE_DEPENDENCIES += libpng
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_png=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_GIF),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_gif=ON
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_gif=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_JPEG),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_jpeg=ON
|
||||
QT6BASE_DEPENDENCIES += jpeg
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_jpeg=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_FONTCONFIG),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_fontconfig=ON
|
||||
QT6BASE_DEPENDENCIES += fontconfig
|
||||
|
||||
Reference in New Issue
Block a user