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

mocwrapper: cannot forward call to original moc if wrapper's filename is other than "moc(.exe)"

XMLWordPrintable

    • All

      Steps to reproduce:

      ~/Qt/6.8.1/gcc_64/libexec (master) $ ./moc --version
      moc 6.8.1
      
      ~/Qt/6.8.1/gcc_64/libexec (master) $ ./mocwrapper --version
      Calling 'qtmoc' failed, errno = 2
      Command: 
      ./qtmocwrapper
      Failed to start moc
      
      ~/Qt/6.8.1/gcc_64/libexec (master) $ ./moc --mocwrapper-version
      MOC-wrapper v3.3.2 Copyright (C) 2024 The Qt Company Ltd
      From revision: ab1f61c4562f121a591941602a3321d754f96416
      Build date: 2024-12-13
      

       
      As seen from the second example, in case the mocwrapper is invoked with some other filename than "moc", starting the original moc executable will fail.

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

            arttu.tarkiainen Arttu Tarkiainen
            arttu.tarkiainen Arttu Tarkiainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes