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

Building tst_qmlsplitlib fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.4.3, 6.5.0, 6.6.0
    • 6.5.0 Beta1
    • Build System: CMake
    • None
    • Linux/X11, Windows
    • 2d97f9bdf (dev), 4394f54a3 (6.5), 7ba71dca0 (6.4)

    Description

      This build failure of Qt haunts me since almost a Year whenever I try to configure/build Qt with tests. Happens on Windows and Linux with different Qt branches and build tool versions.

      Current failure is with:

      • current Qt 6.5 checkout
      • toplevel build of qtbase, qt5compat, qtdeclarative, qtshadertools
      • cmake 3.24.2
      • ninja 1.10.2
      Configure line
      ./configure -make tests
      
      Build failure
      [13/778] Running moc --collect-json for target tst_qmlsplitlib
      FAILED: qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json.gen qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json.gen /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json 
      cd /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib && /home/alportal/dev/qt6_desktop/qtbase/libexec/moc -o /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json.gen --collect-json @/home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/tst_qmlsplitlib_json_file_list.txt && /home/alportal/Qt/Tools/CMake/bin/cmake -E copy_if_different /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json.gen /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/meta_types/qt6tst_qmlsplitlib_release_metatypes.json
      Error opening /home/alportal/dev/qt6_desktop/qtdeclarative/tests/auto/qml/qmlsplitlib/tst_qmlsplitlib_autogen/include/moc_tst_qmlsplitlib_library_tst_qmlsplitlib.cpp.json for reading
      

      Attachments

        1. .ninja_log
          1.68 MB
          Alessandro Portale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes