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

CMake CMP0177 on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8.3
    • Build System: CMake
    • None
    • Android

      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.

            qtbuildsystem Qt Build System Team
            larss Lars Schmertmann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes