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

Creator rebuilds most of qtdeclarative when opening or importing command line build

XMLWordPrintable

    • fc32f1523 (15.0)

      I build Qt using a script on the command line and then open a module like qtdeclarative to do my work. After opening qtdeclarative, Creator almost always rebuilds most of the module when hitting Build. What I'd expect is that there is no work to be done, since I've just built it.

      Sometimes, but rarely, importing a build will work as expected, with no work to do.

      This happens on Linux, Mac and Windows.

      Attached are three CMakeCache.txts from the different ways of building qtdeclarative on Ubuntu 22.04:

      Both of the Creator builds (regular opening and importing) resulted in ~2000 out of the original ~3000 build steps being re-done.

      I've also attached screenshots of the Qt version and kit:


        1. creator-kit-ubuntu.png
          510 kB
          Mitch Curtis
        2. creator-qt-version-ubuntu.png
          731 kB
          Mitch Curtis
        3. qtdeclarative-2nd-attempt.zip
          254 kB
          Mitch Curtis
        4. qtdeclarative-3rd-attempt.zip
          9.80 MB
          Mitch Curtis
        5. qtdeclarative-4th-attempt.zip
          9.78 MB
          Mitch Curtis
        6. qtdeclarative-cmd-line-CMakeCache.txt
          88 kB
          Mitch Curtis
        7. qtdeclarative-creator-CMakeCache.txt
          89 kB
          Mitch Curtis
        8. qtdeclarative-creator-import-CMakeCache.txt
          89 kB
          Mitch Curtis
        For Gerrit Dashboard: QTCREATORBUG-32196
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes