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

CMake deploy script finds x64 libraries for WoA application.

XMLWordPrintable

    • 571201603 (dev), 01d12a2d9 (6.7), f04bf38d5 (6.6), 8b072e11b (tqtc/lts-6.5), bcdc9d705 (dev), 06ab1d363 (6.7), 9409af0fa (6.6), a16bdba91 (tqtc/lts-6.5)

      Can be reproduced by any project. Add qt_generate_deplo_app_script or qt_generate_deploy_qml_app_script (depends on Qt Quick app or not) followed by install to the end of default CMakeLists.txt. Refer to this tutorial:
      https://www.qt.io/blog/cmake-deployment-api

      The final installation contains x64 libraries instead of aarch64 libraries. So CMake does not find the correct libraries. One can check the arch of libraries by, e,g, "file" command from Git. The output should be something like:

      PE32+ executable (DLL) (GUI) x86-64, for MS Windows
      

      even for WoA installation.

      Configuration log attached. May reveal the reason that windeployqt does not distinguish archs.

        1. log_CMD.txt
          3.94 MB
          Luqiao Chen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            alexandru.croitor Alexandru Croitor
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: