9cb08c4c0d
If we don't have a valid Symbol to get a line number from, or if the
symbol.lineNum is -1, print a shorter message containing only the file
path. Printing: '/path/to/file👎1' isn't useful (and looks wrong).
Change error/defaultErrorMsg/warning/note() to delegate to one central
method, so that they all behave the same; e.g. previously warning() and
note(), guarded against printing "-1" for the line number, whereas
error() didn't.
This also makes it possible to use error() for reporting other issues
(e.g. the size of generator.strings list exceeding INT_MAX, which will
happen in a later commit).
Pick-to: 6.6
Change-Id: Iddc96e08315fae415be6a84928f845d7bceb4c5f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||
---|---|---|
.. | ||
macdeployqt | ||
moc | ||
qdbuscpp2xml | ||
qdbusxml2cpp | ||
qmake | ||
qmakelib | ||
qt_cmake_create | ||
rcc | ||
uic | ||
windeployqt | ||
CMakeLists.txt |