Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141464

[FTBFS] AUTOMOC for target tst_qqmlimport_static_module: The "moc" executable ... does not exist.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.11
    • Build System: CMake
    • None

      Started with 97fe92bd8ee55f4b6a44a052925b643366734f1d. On a top-level build of Qt:

      -- Configuring done (120.1s)
      CMake Error: AUTOMOC for target tst_qqmlimport_static_module: The "moc" executable "/home/tjmaciei/obj/qt/qt6-release/qtbase/libexec/moc" does not exist.
      CMake Generate step failed.  Build files cannot be regenerated correctly.
      

      Repeating 9dc7c213216d5feb2282083e00833ad281d60515 as this patch did not help:

      diff --git a/tests/auto/qml/qqmlimport/MyStaticModule/CMakeLists.txt b/tests/auto/qml/qqmlimport/MyStaticModule/CMakeLists.txt
      index fe6a6e0599..a8135b6f44 100644
      --- a/tests/auto/qml/qqmlimport/MyStaticModule/CMakeLists.txt
      +++ b/tests/auto/qml/qqmlimport/MyStaticModule/CMakeLists.txt
      @@ -16,3 +16,4 @@ qt_internal_extend_target(tst_qqmlimport_static_moduleplugin
           SOURCES
               mystaticmoduleplugin.h
       )
      +qt_autogen_tools_initial_setup(tst_qqmlimport_static_moduleplugin)
      

        For Gerrit Dashboard: QTBUG-141464
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change