Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
Qt Creator 3.3.0
-
None
-
Linux/Windows, BlackBerry 10.2/Qt 5.4
Description
slog2 is the default way of logging for BlackBerry. Official BlackBerry SDK is build with slog2 enabled and it is the default option for custom builds.
For some reason logs written using qDebug/console.log are not visible in Application output anymore.
Configure output suggests:
NOTE: journald or slog2 integration is enabled.
If your users intend on developing applications against this build,
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 or slog2.
This solution works if we add the following line to bar-descriptor.xml:
<env value="1" var="QT_LOGGING_TO_CONSOLE"/>
The other way is to disable slog2 during configuration. I'm testing this solution now, but it is not available for official SDK users.
I think Qt Creator should support slog2 logs by default