Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator 9.0 failed to build
Qt 6.11 is out! See what's new in the release blog

Qt Creator 9.0 failed to build

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 372 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.
  • S Offline
    S Offline
    seeyouantee
    wrote on last edited by
    #1

    Hi. Im trying to build qt creator from source code in windows 11. I built qt6 (6.3.0 actually). I followed the instructions here: https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator
    The problem came up here:

    cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH=/path/to/Qt;/path/to/llvm" \path\to\qtcreator_sources
    

    I keep getting this error when im trying to do the above mentioned:

    CMake Error at cmake/FindQt5.cmake:57 (find_package):
      Found package configuration file:
    
        C:/ThirdParty/Qt/qt6.3.0-installed/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 "Qml".
    
      Expected Config file at
      "C:/ThirdParty/Qt/qt6.3.0-installed/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake"
      does NOT exist
    
    Call Stack (most recent call first):
      CMakeLists.txt:68 (find_package)
    
    -- Configuring incomplete, errors occurred!
    

    Where should i find qml?
    p.s. i built and installed qt 6.3.0 from source code from github with this instruction https://wiki.qt.io/Building_Qt_6_from_Git

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      I guess something wrong happened when compiling / installing Qt. Qt6Qml is part of qtdeclarative and should be present.

      1 Reply Last reply
      0

      • Login

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