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

qmldomlib breaks configure for top-level build: depends on moc before it's built

    XMLWordPrintable

    Details

    • Commits:
      5a9b283af2 (qt/qtdeclarative/dev) 5a9b283af2 (qt/tqtc-qtdeclarative/dev)

      Description

      Current dev branch, in an empty build dir:

      $ ../qt6/configure -developer-build -debug -no-optimize-debug -no-tslib -no-pch -nomake examples
      ...
      -- Qt is now configured for building. Just run 'cmake --build . --parallel'
      
      Once everything is built, Qt is installed. You should NOT run 'cmake --install .'
      Note that this build cannot be deployed to other machines or devices.
      
      To configure and build other Qt modules, you can use the following convenience script:
              /home/rutledge/dev/qt6-dbg/qtbase/bin/qt-configure-module
      
      If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory 
      
      -- Configuring done
      CMake Error: AUTOMOC for target qmldomlib: The "moc" executable "/home/rutledge/dev/qt6-dbg/qtbase/libexec/moc" does not exist.
      CMake Generate step failed.  Build files cannot be regenerated correctly.
      CMake Error at /home/rutledge/dev/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:965 (message):
        CMake exited with code 1.
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtqmlteam Qt Qml Team User
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes