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. Can't Build Qt 6.2 Big Sur 11.6: The moc executable does not exist for qt_target_qml_sources_example_resources_3

Can't Build Qt 6.2 Big Sur 11.6: The moc executable does not exist for qt_target_qml_sources_example_resources_3

Scheduled Pinned Locked Moved Unsolved Qt 6
macosbig surqt6 macos
1 Posts 1 Posters 484 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.
  • C Offline
    C Offline
    ChiK
    wrote on 12 Oct 2021, 03:10 last edited by
    #1

    I can't build 6.2.0 from git on Big Sur.
    I get the error The moc executable does not exist for qt_target_qml_sources_example_resources_3.
    Could someone help me?

    XCode 13.0
    MacOS 11.6
    Llvm 13.0 from brew

    git clone git://code.qt.io/qt/qt5.git qt6
    cd qt6
    git checkout 6.2.0
    perl init-repository --module-subset=default,-qtwebengine
    cd ..
    mkdir 6.2.0
    cd 6.2.0
    ../qt6/configure -release -static -developer-build -mp -opensource -nomake examples -nomake tests --confirm-license -silent -skip qtwebengine

    -- Configuring done
    CMake Error: AUTOMOC for target qt_target_qml_sources_example_resources_3: The "moc" executable "/Users/cgk/qt/6.2.0/qtbase/libexec/moc" does not exist.
    CMake Generate step failed. Build files cannot be regenerated correctly.
    CMake Error at /Users/cgk/qt/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:947 (message):
    CMake exited with code 1.

    The full output is here.
    https://pastebin.com/apNEV9Cz

    1 Reply Last reply
    0

    1/1

    12 Oct 2021, 03:10

    • Login

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