Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
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
-
None
-
I am using Windows 11. But it should be a cross-platform issue.
-
-
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
- is duplicated by
-
QTCREATORBUG-32298 Some CMakeLists.txt are considered generated files
- Closed