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

Unknown CMake command "qt_finalize_executable"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.0
    • 6.2
    • Build System: CMake
    • None
    • cda75ef27a53ad25ca00085601108536dfa556fe (qt/qtbase/dev)

    Description

      Qt Creator 4.15.0 wizards for CMake rely on qt_finalize_executable :

      if(QT_VERSION_MAJOR EQUAL 6)
          qt_import_qml_plugins(untitled1)
          qt_finalize_executable(untitled1)
      endif()
      

      This fails now with 6.2/dev branch:

      CMake Error at CMakeLists.txt:65 (qt_finalize_executable):
        Unknown CMake command "qt_finalize_executable".
      

      This is due to https://codereview.qt-project.org/c/qt/qtbase/+/349823, which renamed qt_finalize_executable to _qt_internal_finalize_executable

      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
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes