Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29322

Inconsistent version in incremental build

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 11.0.0-rc1
    • Building Qt Creator
    • None
    • Ubuntu 22.04 LTS
      cmake 3.22.1
      g++ 11.3.0

    Description

      1. I built Creator's branch 11.0 before 3ff21fe3e15e9228c47e1bf248dd379cdb0e9d40 was merged.
      2. I pulled, thus adding that patch to my sources.
      3. I rebuilt in the existing directory:
        qt-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DWITH_DOCS=ON -DQTC_FORCE_XCB=ON -S ~/dev/src/creator-11/ && nice cmake --build . --parallel && nice cmake --build . --target docs --parallel
        
      4. The build succeeds, but Creator can't load some plugins:

        Looks like they didn't get the version update.

      This can easily be fixed by running

      touch src/CMakeLists.txt
      

      in the source checkout. Could something be added to the sources or project files so that an incremental build handles the situation automatically?

      Attachments

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

        Activity

          People

            con Eike Ziller
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes