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

qDebug, qWarning etc. Android implementation

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidqtqdebugqwarninglogging
2 Posts 1 Posters 865 Views
  • 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 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 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

      • Login

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