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

Do not rely on peeking into toolchain files to detect an Android build

XMLWordPrintable

    • Android
    • 6fec7eae319c7d737c1df585a66a151a654f723b (qt/qtbase/dev) 994d8ba359b638592cd00157c35bd163c3121ac1 (qt/qtbase/6.2)

      To figure out that we're doing an Android build we're peeking into the toolchain file on every platform (see qt_auto_detect_android). That is done to set certain default variables for Android, before the toolchain file is loaded.

      The current approach is bound to break should the magic string we're looking for ever change.

      Find some other means to detect whether we're attempting an Android build.

        For Gerrit Dashboard: QTBUG-94955
        # Subject Branch Project Status CR V

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes