Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error building Qt creator 9.0.1

Error building Qt creator 9.0.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 289 Views 2 Watching
  • 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.
  • K Offline
    K Offline
    KJ92
    wrote on last edited by
    #1

    Trying to build QT creator from source by following this BKM:
    https://github.com/qt-creator/qt-creator/blob/master/README.md

    and i get error.

    Here is the command i use:

    cmake.exe -DCMAKE_BUILD_TYPE=Release "-DCMAKE_PREFIX_PATH=D:/Tools/Qt/Qt6.4.2_static_msvc2022;D:/Workspace/user/libclang-release_140-based-windows-vs2019_64/libclang/bin" D:/Workspace/user/qt-creator-enterprise-src-9.0.1/qt-creator-enterprise-src-9.0.1
    

    and for some reason it try to find QT5:

    -- Building for: Visual Studio 17 2022
    -- The C compiler identification is MSVC 19.34.31937.0
    -- The CXX compiler identification is MSVC 19.34.31937.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Error at cmake/FindQt5.cmake:32 (find_package):
      Could not find a package configuration file provided by "Qt5" (requested
      version 6.2.0) with any of the following names:
    
        Qt5Config.cmake
        qt5-config.cmake
    
      Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
      to a directory containing one of the above files.  If "Qt5" provides a
      separate development package or SDK, be sure it has been installed.
    Call Stack (most recent call first):
      CMakeLists.txt:68 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    

    any idea what went wrong?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you mention 9.0.1 you should switch to the 9.0 branch or even tag.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Since you mention 9.0.1 you should switch to the 9.0 branch or even tag.

        K Offline
        K Offline
        KJ92
        wrote on last edited by
        #3

        @SGaist Can you please be more specific?
        I downloaded the source code from https://account.qt.io/s/downloads and not from git.

        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