Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-29

CMake flags are still used to build the project even if they have been removed

    XMLWordPrintable

Details

    • macOS

    Description

      MacOS 14.4

      Qt 6.7.0

      Steps to reproduce:

      1. Install and configure QtTAS plugin.
      2. Open any android project with an imported Qt project.
      3. Open plugin settings and add any CMake flag, e.g.:
        -DQT_ANDROID_BUILD_ALL_ABIS=TRUE
      4. Build the project and check the Qt build output 
      5. Remove the flag 
      6. Build the project and check the Qt build output.

      Expected: Flag should be cleared when it's removed. 

      Actual: The flag is still used, e.g.: I removed the flag and still see the project is configured for all the ABIS:

      -- Configuring 'testqt14' for the following Android ABIs: x86_64 (default), armeabi-v7a, arm64-v8a, x86

      Reproducibility:  100% 

       

      AS details:

      Android Studio Hedgehog | 2023.1.1
      Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
      Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 x86_64
      VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
      macOS 14.4.1
      GC: G1 Young Generation, G1 Old Generation
      Memory: 4096M
      Cores: 8
      Metal Rendering is ON
      Registry:
          external.system.auto.import.disabled=true
          ide.text.editor.with.preview.show.floating.toolbar=falseNon-Bundled Plugins:
          com.intellij.marketplace (231.9392.3)
          PythonCore (231.9225.4)
          org.qtproject.qt.androidstudiotools (1.0.0)
        

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes