-
Task
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
f1bccd2f4 (master)
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/656371 introduced the problem, that when opening Qt Creator as project itself, warnings like
qtc.cmake.fileApiExtractor: Failed to parse: "/usr/share/cmake-3.28/Templates/CPackConfig.cmake.in" "Parse error. Expected a command name, got unquoted argument with text \"@_CPACK_OTHER_VARIABLES_@\".\n" qtc.cmake.fileApiExtractor: Failed to parse: "/data/dev/creator/cmake/QtCreatorConfig.cmake.in" "Parse error. Expected a command name, got unquoted argument with text \"@PACKAGE_INIT@\".\n" qtc.cmake.fileApiExtractor: Failed to parse: "/data/dev/qt-6/qtbase/lib/cmake/Qt6Qml/Qt6qmldirTemplate.cmake.in" "Parse error. Expected a command name, got unquoted argument with text \"@__qt_qmldir_content@\".\n"
spam the console and make really important warnings hard to detect.
While the warnings might be useful in general for unexpected input, the occurrences here are expected.
I think it would make sense to 'downgrade' the severity of the message in the expected cases (e.g. if the filename ends in *.in) from 'Warning' to 'Debug'.
For Gerrit Dashboard: QTCREATORBUG-33255 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
663880,4 | CMakePM: Lower priority of CMake file parsing error reporting | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |