Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. iOS Build Error QT6 with Qt6_FOUND to FALSE
QtWS25 Last Chance

iOS Build Error QT6 with Qt6_FOUND to FALSE

Scheduled Pinned Locked Moved Solved Qt 6
2 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PrasadMP
    wrote on last edited by PrasadMP
    #1

    Unable to build iOS application on QT6,
    getting below error.

    /Users/prasadmp/HelloQT/CMakeLists.txt:28: error: 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 ""

    P 1 Reply Last reply
    0
    • P PrasadMP

      Unable to build iOS application on QT6,
      getting below error.

      /Users/prasadmp/HelloQT/CMakeLists.txt:28: error: 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 ""

      P Offline
      P Offline
      PrasadMP
      wrote on last edited by
      #2

      QTBUG-93384 created to track the problem,

      solutions are:

      1. QT Creator 4.15 release
      2. use the 4.15 rc https://www.qt.io/blog/qt-creator-4.15-rc1-released
      3. Manually specify the proper configuration options to the prohect, either in the kit cmake settings, or in the project cmake settings (or configure from command line)
        The required configure options are
        -DCMAKE_TOOLCHAIN_FILE:PATH=/Volumes/T3/Dev/qt/official_qt/6.0.3/ios/lib/cmake/Qt6/qt.toolchain.cmake -DCMAKE_OSX_ARCHITECTURES:STRING=arm64
        -DCMAKE_OSX_SYSROOT:STRING=iphoneos in /Volumes/T3/Dev/projects/builds/build-ios_cmake_empty_quick_project_6_0_3-Qt_6_0_3_for_iOS
      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved