Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1778

[Reg] mocwrapper causes compilation to hang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 3.5.0
    • 3.3.2
    • None
    • Windows 10 22H2; both MSVC 2022 and MinGW 13.1.0
    • License server development 46, License server development 47

    Description

      Steps to reproduce

      1. Download the example project from QTBUG-120698
      2. Build it
      3. If Step #2 hangs, terminate and restart compilation

       

      Expected outcomes (Qt 6.7.3)
      Step #2 finishes building successfully

       

      Actual outcomes (Qt 6.8.2 with moc-wrapper)

      • Step #2 hangs after a few actions at "[8/29] Generating .rcc/qmlcache/appQmltcStudy_qmlcache_loader.cpp"
      • Step #3 hangs immediately at "[0/21] Running moc --collect-json for target appQmltcStudy"

       

      Workaround
      Replace <QTDIR>/bin/moc.exe with <QTDIR>/bin/qtmoc.exe

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes