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

Broken cmake files in Qt/6.4.3/android_armv7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 6.5.0
    • 6.4.3
    • Build System: CMake
    • None
    • Android

    Description

      I am trying to build a custom module for the platform android_armv7, on a Linux build host. I am using Qt 6.4.3, downloaded with the Qt Maintenance tool. The script qt-configure-module returns the errors mentioned below. A quick investigation shows that the script "android_armv7/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake" (and possibly also others) contain windows-style paths such as "C:/Qt/Qt-6.4.3/lib/cmake/Qt6Location". This problem does not occur in the directory android_arm64_v8a. I attach a screenshot of the diff program showing the relevant section.

      ```

      CMake Error at /usr/share/cmake/Modules/CMakePackageConfigHelpers.cmake:275 (file):
        file RELATIVE_PATH must be passed a full path to the directory:
        C:/Qt/Qt-6.4.3/lib/cmake/Qt6Location
      Call Stack (most recent call first):
        /home/kebekus/Software/buildsystems/Qt/6.4.3/android_armv7/lib/cmake/Qt6/QtModuleHelpers.cmake:715 (configure_package_config_file)
        src/location/CMakeLists.txt:1 (qt_internal_add_module)

       

      ```

       

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            skebekus Stefan Kebekus
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes