Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112504

QMessageLogger compilation fails with Android NDK r25 and SDK < 33

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.8
    • Core: Other
    • None
    • NDK r25
    • Android

    Description

      qlogging.cpp tries to detect whether or not backtrace API exists by testing __has_include(<cxxabi.h>) && __has_include(<execinfo.h>. This condition is true in Android NDK r25 but the functions are only defined if __ANDROID_API__ >= 33, so compilation fails.

      This bug does not appear in Qt6.

      Attachments

        Activity

          People

            assam Assam Boudjelthia
            csnover C S
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: