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

Qt Creator becomes stuck in an infinite cmake loop if cmake-project uses doxygen

    XMLWordPrintable

Details

    • Linux/X11
    • 27f0dd134f13854d948f7f25e94cce12a40d82b1 (qt-creator/tqtc-qt-creator/5.0)

    Description

      When my cmake project uses doxygen, especially the doxygen_add_docs command, then qtcreator gets stuck in an endless cmake loop.

       

      Steps to reproduce: 

      • create a cmake project using doxygen and doxygen_add_docs or consider the attached example project
      • the first "Run CMake" is ok
      • Observe that all other cmake runs (either from "Run CMake" or triggered by saving one of the CMakeLists.txt files) let qtcreator get stuck in an infinite cmake loop where it is running cmake without end.
        You need to comment out the doxygen_add_docs command in in doc/CMakeLists.txt and save it.
      • observe that it is related to the application having the focus:
        • the loop is happening as long as qtcreator has the focus
        • when you change focus to another app the loop pauses
        • the loops continues when qtcreator gets the focus back
      • when you have commented out the doxygen_add_docs command:
        • activate it again by removing the comments, save the file
          • observe the the first (automatic) cmake run works
        • make a change to that file and save again
          • observe that we are again stuck in the infinite cmake loop

       

      My cmake version is 3.16.3.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            larsfischer Lars Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes