Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qDebug, qWarning etc. Android implementation
Forum Updated to NodeBB v4.3 + New Features

qDebug, qWarning etc. Android implementation

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidqtqdebugqwarninglogging
2 Posts 1 Posters 875 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azarubkin
    wrote on 26 Dec 2018, 06:11 last edited by
    #1

    Hello everyone,

    Where in the sources of Qt can I find the implementation of qWarning and similar streams for Android?

    Specifically, I see their output in logcat, but I'd like to add a logging tag because currently my messages don't contain any.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      azarubkin
      wrote on 26 Dec 2018, 06:34 last edited by azarubkin
      #2

      Found it: https://github.com/qt/qtbase/blob/5.12/src/corelib/global/qlogging.cpp

      Specifically, I needed to set application name in QCoreApplication.

      1 Reply Last reply
      2

      1/2

      26 Dec 2018, 06:11

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved