mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/qt5base: enable journald logging
Allows Qt applications to log into systemd journal with QT_LOGGING_TO_CONSOLE=0 environment variable. Signed-off-by: David Rosca <nowrep@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
6762af4109
commit
d63ba6546b
@@ -253,6 +253,13 @@ QT5BASE_CONFIGURE_OPTS += -no-gtk
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -journald
|
||||||
|
QT5BASE_DEPENDENCIES += systemd
|
||||||
|
else
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -no-journald
|
||||||
|
endif
|
||||||
|
|
||||||
# Build the list of libraries to be installed on the target
|
# Build the list of libraries to be installed on the target
|
||||||
QT5BASE_INSTALL_LIBS_y += Qt5Core
|
QT5BASE_INSTALL_LIBS_y += Qt5Core
|
||||||
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XCB) += Qt5XcbQpa
|
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XCB) += Qt5XcbQpa
|
||||||
|
|||||||
Reference in New Issue
Block a user