Skip to contentSkip to conversation

qtbase: add PACKAGECONFIG for journald logging

PATCH In review Christoph Settgast 2 participants 2 messages Jun 9, 2016 – Jun 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: add PACKAGECONFIG for journald logging

Note from qtbase configure script:

If your users intend on developing applications if logging to journal is enabled, ensure that the IDEs they use either set QT_LOGGING_TO_CONSOLE to 1 or the IDE is able to read the logged output from journald.

---
 recipes-qt/qt5/qtbase_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/qt5/qtbase_git.bb +1 -0
index 72ef3ae..a2a865d 100644
@@ -127,6 +127,7 @@ PACKAGECONFIG[nis] = "-nis,-no-nis"
 PACKAGECONFIG[widgets] = "-widgets,-no-widgets"
 PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy"
 PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput"
+PACKAGECONFIG[journald] = "-journald,-no-journald,systemd"
 
 QT_CONFIG_FLAGS += " \
     -shared \
Signature · 1 line
1.9.1
#1 lore raw
Quoted 17 lines · Christoph Settgast

Note from qtbase configure script:

If your users intend on developing applications if logging to journal is enabled, ensure that the IDEs they use either set QT_LOGGING_TO_CONSOLE to 1 or the IDE is able to read the logged output from journald.

---
 recipes-qt/qt5/qtbase_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/qt5/qtbase_git.bb +0 -0
index 72ef3ae..a2a865d 100644

recipes-qt/qt5/qtbase_git.bb PACKAGECONFIG[nis] = "-nis,-no-nis" · line 130

Quoted 4 lines
recipes-qt/qt5/qtbase_git.bb +1 -0
@@ -127,6 +127,7 @@ PACKAGECONFIG[nis] = "-nis,-no-nis"
 PACKAGECONFIG[widgets] = "-widgets,-no-widgets"
 PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy"
 PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput"
+PACKAGECONFIG[journald] = "-journald,-no-journald,systemd"

this should also check for systemd being in DISTRO_FEATURES

Quoted 11 lines
recipes-qt/qt5/qtbase_git.bb +0 -1
 QT_CONFIG_FLAGS += " \
     -shared \
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel