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. Qt6 Static Build Cmake error

Qt6 Static Build Cmake error

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 299 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.
  • M Offline
    M Offline
    Mark Durkot
    wrote on last edited by Mark Durkot
    #1

    Hello guys,

    I'm trying to build qt6 statically. But I get an error:

    Qt/6.1.3/Src/qtbase/configure: line 299: cmake: command not found
    

    My configuration:

    ./configure -release -static -opensource -confirm-license -prefix /path/to/qt/6.1.3/static -nomake tests -nomake examples -nomake tools
    

    I'm completely unfamiliar with cmake. I tried the same thing with 6.0.0 and 6.2.0.
    It shows the same error but in different lines:

    Qt/6.0.0/Src/qtbase/configure: line 946: cmake: command not found
    
    Qt/6.2.0/Src/qtbase/configure: line 267: cmake: command not found
    

    I installed Qt with the online installer. I selected just macos and Sources to install.

    I would appreciate your help guys. If you need some additional files, just let me know I will add them.
    Thank you.

    VRoninV 1 Reply Last reply
    0
    • M Mark Durkot

      Hello guys,

      I'm trying to build qt6 statically. But I get an error:

      Qt/6.1.3/Src/qtbase/configure: line 299: cmake: command not found
      

      My configuration:

      ./configure -release -static -opensource -confirm-license -prefix /path/to/qt/6.1.3/static -nomake tests -nomake examples -nomake tools
      

      I'm completely unfamiliar with cmake. I tried the same thing with 6.0.0 and 6.2.0.
      It shows the same error but in different lines:

      Qt/6.0.0/Src/qtbase/configure: line 946: cmake: command not found
      
      Qt/6.2.0/Src/qtbase/configure: line 267: cmake: command not found
      

      I installed Qt with the online installer. I selected just macos and Sources to install.

      I would appreciate your help guys. If you need some additional files, just let me know I will add them.
      Thank you.

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Duplicate of https://forum.qt.io/topic/131263/qt6-static-build-cmake-error

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      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