aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-25 02:14:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-30 11:42:00 +0200
commitd4eec9664bb96a093b92c3e1f565806686ea0ccb (patch)
tree289945890ab661bb00124c9ba4f9e548dfeb0f58 /mesonbuild/interpreter.py
parentfe24292ae338a5767208abb7ea9634e5dd5c0681 (diff)
downloadmeson-d4eec9664bb96a093b92c3e1f565806686ea0ccb.zip
meson-d4eec9664bb96a093b92c3e1f565806686ea0ccb.tar.gz
meson-d4eec9664bb96a093b92c3e1f565806686ea0ccb.tar.bz2
qt: dependency: Strip tool versions from newlines
When finding the Qt compilation tools (moc, uic, rcc, lrelease), the version strings contain a trailing newline character. This results in a stray newline in the meson log: Detecting Qt5 tools Program /usr/lib64/qt5/bin/moc found: YES 5.14.2 (/usr/lib64/qt5/bin/moc) Program /usr/lib64/qt5/bin/uic found: YES 5.14.2 (/usr/lib64/qt5/bin/uic) Program /usr/lib64/qt5/bin/rcc found: YES 5.14.2 (/usr/lib64/qt5/bin/rcc) Program /usr/lib64/qt5/bin/lrelease found: YES 5.14.2 (/usr/lib64/qt5/bin/lrelease) Strip the version to avoid this, resulting in a cleaner log: Detecting Qt5 tools Program /usr/lib64/qt5/bin/moc found: YES 5.14.2 (/usr/lib64/qt5/bin/moc) Program /usr/lib64/qt5/bin/uic found: YES 5.14.2 (/usr/lib64/qt5/bin/uic) Program /usr/lib64/qt5/bin/rcc found: YES 5.14.2 (/usr/lib64/qt5/bin/rcc) Program /usr/lib64/qt5/bin/lrelease found: YES 5.14.2 (/usr/lib64/qt5/bin/lrelease) Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'mesonbuild/interpreter.py')
0 files changed, 0 insertions, 0 deletions