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

CMake CMP0177 on Android

XMLWordPrintable

    • Android
    • 06c9cd7e4 (dev), 873103c88 (6.10)
    • 2025wk42s3QtforAndroid

      It looks like there were some commits to fix the CMake warning for CMP0177.
      https://codereview.qt-project.org/q/CMP0177
      But probably Android was missed. I get a lot of warnings, when I build Qt for Android.

      -- Configuring submodule 'qtbase'
      CMake Warning (dev) at qtbase/cmake/QtInstallHelpers.cmake:21 (install):
        Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
        "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
      Call Stack (most recent call first):
        qtbase/cmake/QtInstallHelpers.cmake:94 (qt_install)
        qtbase/src/3rdparty/gradle/CMakeLists.txt:25 (qt_copy_or_install)
      This warning is for project developers.  Use -Wno-dev to suppress it.
      [...]
      

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

            assam Assam Boudjelthia
            larss Lars Schmertmann
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes