* [Buildroot] [PATCH] package/qt5base: enable journald logging
@ 2019-05-14 7:49 David Rosca
2019-05-14 15:45 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: David Rosca @ 2019-05-14 7:49 UTC (permalink / raw)
To: buildroot
Allows Qt applications to log into systemd journal with
QT_LOGGING_TO_CONSOLE=0 environment variable.
Signed-off-by: David Rosca <nowrep@gmail.com>
---
package/qt5/qt5base/qt5base.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index e73b8931aa..e4ae120631 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -253,6 +253,13 @@ QT5BASE_CONFIGURE_OPTS += -no-gtk
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
QT5BASE_INSTALL_LIBS_y += Qt5Core
QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XCB) += Qt5XcbQpa
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/qt5base: enable journald logging
2019-05-14 7:49 [Buildroot] [PATCH] package/qt5base: enable journald logging David Rosca
@ 2019-05-14 15:45 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-05-14 15:45 UTC (permalink / raw)
To: buildroot
On Tue, 14 May 2019 09:49:36 +0200
David Rosca <nowrep@gmail.com> wrote:
> Allows Qt applications to log into systemd journal with
> QT_LOGGING_TO_CONSOLE=0 environment variable.
>
> Signed-off-by: David Rosca <nowrep@gmail.com>
> ---
> package/qt5/qt5base/qt5base.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-14 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-14 7:49 [Buildroot] [PATCH] package/qt5base: enable journald logging David Rosca
2019-05-14 15:45 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox