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

Annoying "Warning: CMake file generated"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 15.0.1
    • Qt Creator 15.0.0-beta1, Qt Creator 15.0.0-beta2, Qt Creator 15.0.0-rc1, Qt Creator 15.0.0, Qt Creator 15.0.1
    • Editors
    • None
    • I am using Windows 11. But it should be a cross-platform issue.
    • All
    • 01610a983 (15.0)

    Description

      OK, this issue might be duplicated but I would like to make myself clear. When I edit a CMakeLists.txt which is not at the top level, i.e. directly under the project directory, I always received the warning "Warning: This file is generated."

      This message causes no harm to any development/ building/ debugging or deployment stages, yet it is SUPER annoying. I would like to get rid of this as soon as possible.

      Just in case you don't know, I've upgraded to Qt Creator 15.0 and from that version on, issue persists. Before that, like in version 14.0 or below, I saw no problems. It might be due to the CMake parsing system change, like they only show the top level CMake lists yet not the underlying ones; so they'll mark any other CMake lists generated.

      I've recently raised a topic on the Forum, see this: https://forum.qt.io/topic/160390/warning-this-file-is-generated

      Thank in advance and any help would be appreciated.

      Attachments

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              misinahaiya Cai Jiajun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes