Important: Please read the Qt Code of Conduct -

I need help. I gave me the following prompt when compiling QT6.0, so that I couldn't do the following work.

    • cd qtbase
    • /opt/Qt/qt-everywhere-src-6.1.0-alpha/qtbase/configure -top-level
      /opt/Qt/qt-everywhere-src-6.1.0-alpha/qtbase/configure: 299: cmake: not found

    However, this file does exist

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you have cmake installed and if so which version ?

    That said, /opt is usually not user writable so you should do an out of source build from somewhere you can like your home folder (doing it as root is a bad idea).

Log in to reply