Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32017

ANDROID_USE_LEGACY_TOOLCHAIN_FILE=false is not recommended (by google)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • Qt Creator 15.0.0-rc1
    • Android Support
    • None
    • Android

    Description

      I was just finishing updating my 3rdParty libraries to ndk r26b when I noticed my android cmake strategy is not recommended any more. (which is of course my problem not yours)

      The google docs state: https://developer.android.com/ndk/guides/cmake

      • Warning: We do not recommend using -DANDROID_USE_LEGACY_TOOLCHAIN_FILE=OFF. The legacy toolchain is the default, and despite the name, is what we recommend.

       

      What could be considered your "problem" is by default cmake android projects in QtCreator are configured with DANDROID_USE_LEGACY_TOOLCHAIN_FILE=OFF. This may also have consequences for the deployment of your android binaries.

      I just wanted to ask if you are aware of that, for me it was a surprise.

      Attachments

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              bitfactory Markus Schoder
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes