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

Update cmake_minimum_required to 3.16 in all CMake Qt example projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      We should update all our example projects to call cmake_minimum_required with version 3.16 rather than 3.14.

      There are policies like https://cmake.org/cmake/help/latest/policy/CMP0091.html
      which apply at the first call of project() which means that a subsequent call of cmake_minimum_required done in Qt6Config.cmake does not influence which msvc runtime library will be linked.

      See https://codereview.qt-project.org/c/qt/qtbase/+/362442/1//COMMIT_MSG#17 for context.

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes