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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Environment:
      Windows 10(21H1 Build 19043.1415)
      cmake v3.22.1
      ninja 1.10.2
      android ndk 22.1.7171670
    • Platform/s:
      Android

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews