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

Building a DEBUG CMake project against a -debug-and-release Qt fails

    XMLWordPrintable

Details

    • 7540b4bd5634c9104a99f9b219531b1e3dd7942d (qt/qtbase/dev) dabd9d1369cefa9b2ceaa598dc69acd4c0e33f04 (qt/qtbase/6.2)

    Description

      Configure top-level non-prefix build with something like

      configure -debug-and-release -- -DQT_BUILD_SUBMODULES="qtdeclarative"
      

      Build it.

      Configure an example with

      qtbase/bin/qt-cmake ~/dev/qtbase/examples/widgets/gallery -GNinja -DCMAKE_BUILD_TYPE=Debug
      

      Configuration succeeds, but build fails with

      ninja: error: '~/builds/dev-mac-super-deb-and-rel/qtbase/libexec/Debug/moc', needed by 'gallery_autogen/timestamp', missing and no known rule to make it
      

      qtbase/libexec/Debug as a folder exists, but it's empty.

      Haven't checked yet if prefix builds or per-repo build makes a difference.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes