Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't Build QTWebEngine With Xcode 11.5 on MacOS 10.15.5



  • I'm trying to build qt v5.15.0 from git.
    I'm running Xcode 11.5 on MacOS 10.15.5.
    However I get this warning.

    Checking for platform supported... Using Xcode version , but at least version 10.0.0 is required to build Qt WebEngine or Qt Pdf.
    WARNING: Using Xcode version , but at least version 10.0.0 is required to build Qt WebEngine or Qt Pdf.
    WARNING: QtWebEngine will not be built.

    Here are my commands.

    git clone git://code.qt.io/qt/qt5.git
    cd qt5
    git checkout v5.15.0
    perl init-repository --module-subset=default
    cd..
    mkdir v5.15.0
    cd v5.15.0
    ../qt5/configure -developer-build -opensource -nomake examples -nomake tests --confirm-license -webengine-pepper-plugins -webengine-proprietary-codecs

    I'd really appreciate any help.



  • The following command fixed.

    sudo xcode-select -s /Applications/Xcode.app/Contents/Developer