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

CMake iOS Qt Quick default empty project fails to configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.0.3
    • Build System: CMake
    • None
    • iOS/tvOS/watchOS

    Description

      CMAKE run failed for Empty QTQuick Project with below error. 

      CMAKE errors:
      CMake Warning at /Users/prasadmp/Qt/6.0.3/ios/lib/cmake/Qt6/Qt6Config.cmake:90 (find_package):
      Found package configuration file:

      /Users/prasadmp/Qt/6.0.3/ios/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake

      but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
      be NOT FOUND. Reason given by package:

      The following imported targets are referenced, but are missing: Qt6::Qml
      Qt6::QmlModels Qt6::QmlModelsPrivate Qt6::QmlPrivate

      Call Stack (most recent call first):
      CMakeLists.txt:28 (find_package)

      CMake Error at CMakeLists.txt:28 (find_package):
      Found package configuration file:

      /Users/prasadmp/Qt/6.0.3/ios/lib/cmake/Qt6/Qt6Config.cmake

      but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      FOUND. Reason given by package:

      Failed to find Qt component "Core" config file at ""

      Failed to find Qt component "Quick" config file at ""

      Attachments

        1. cmake.txt
          2 kB
        2. GeneralMessage.txt
          5 kB
        3. GeneralMessage2.txt
          0.7 kB
        4. GeneralMessage3.txt
          3 kB
        5. screenshot.png
          screenshot.png
          153 kB
        6. Screenshot 2021-05-03 at 16.38.20.png
          Screenshot 2021-05-03 at 16.38.20.png
          225 kB
        7. Screenshot 2021-05-03 at 19.00.49.png
          Screenshot 2021-05-03 at 19.00.49.png
          108 kB
        8. systemInformation.txt
          11 kB
        9. systemInformation2.txt
          11 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            prasadmp Prasad M P
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes