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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes