Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32930

Qt Console Application does not configure with Qt 6.6.3 for macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 17.0.0-beta1
    • Qt Creator 16.0.1
    • CMake
    • None
    • macOS
    • b707c340e (17.0)

    Description

      Using the "Qt Console Application Wizard" in Qt Creator produces a CMakeLists.txt that does not configure with Qt 6.6.3 for macOS:

      [cmake] CMake Error at /Users/kkoehne/Qt/6.6.3/macos/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3166 (message):
      [cmake]   Executable targets have to be app bundles to use this command on Apple
      [cmake]   platforms.
      [cmake] Call Stack (most recent call first):
      [cmake]   /Users/kkoehne/Qt/6.6.3/macos/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3219 (qt6_generate_deploy_app_script)
      [cmake]   CMakeLists.txt:25 (qt_generate_deploy_app_script)
      

      This is due to the call to qt_generate_deploy_app_script() in the generated CMakeLists.txt.

      For Qt 6.9, the error is mitigated by the NO_UNSUPPORTED_PLATFORM_ERROR option. Anyhow, this doesn't work for Qt 6.6.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-32930
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            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