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

Windows - Android App, cmake build does not update correctly if app library is bigger than 2GB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.2.2
    • Build System: CMake
    • None
    • Windows 10(21H1 Build 19043.1415)
      cmake v3.22.1
      ninja 1.10.2
      android ndk 22.1.7171670
    • Android

      The initial library with debug symbols is biggern than 2GB in my App.
      I noticed that if I make changes(f.e. qml) it is deployed without error, but the changes are not visible.
      After a lot of testing I found that "cmake -E copy_if_different" does not work correctly on Windows.

      So the updated file that is written to "AnotherApp/libAnotherApp_arm64-v8a.so" is not copied correctly to "AnotherApp/android-build/libs/arm64-v8a/libAnotherApp_arm64-v8a.so" and the old version is used for the deployment.

      A workaround is to delete the "android-build" directory.

      I opened a issue for CMake: CMake Issue 23052

      This issue is just to let you know, not sure if there is anything you can/should do about it.

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

            semlanik Alexey Edelev
            Marscho Marscho
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: