Skip to content

modules: qt: probe libexec before bin for Qt6#15771

Open
jrosdahl wants to merge 1 commit into
mesonbuild:masterfrom
jrosdahl:qt6-search-libexec-first
Open

modules: qt: probe libexec before bin for Qt6#15771
jrosdahl wants to merge 1 commit into
mesonbuild:masterfrom
jrosdahl:qt6-search-libexec-first

Conversation

@jrosdahl
Copy link
Copy Markdown
Contributor

@jrosdahl jrosdahl commented May 4, 2026

Qt6 moved all tools (at least those Meson cares about by default) except lrelease from bin to libexec. Update order of probing in QtBaseModule.compilers_detect accordingly to avoid some "... found: NO" messages in Meson's output.

Before:

Run-time dependency qt6 (modules: Core) found: YES 6.8.3 (pkg-config)
Program /usr/lib64/qt6/bin/uic found: NO
Program /usr/lib64/qt6/libexec/uic found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/uic)
Program /usr/lib64/qt6/bin/moc found: NO
Program /usr/lib64/qt6/libexec/moc found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/moc)
Program /usr/lib64/qt6/bin/rcc found: NO
Program /usr/lib64/qt6/libexec/rcc found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/rcc)
Program /usr/lib64/qt6/bin/qmlcachegen found: NO
Program /usr/lib64/qt6/libexec/qmlcachegen found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/qmlcachegen)
Program /usr/lib64/qt6/bin/qmltyperegistrar found: NO
Program /usr/lib64/qt6/libexec/qmltyperegistrar found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/qmltyperegistrar)
Program /usr/lib64/qt6/bin/lrelease found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/bin/lrelease)

After:

Run-time dependency qt6 (modules: Core) found: YES 6.8.3 (pkg-config)
Program /usr/lib64/qt6/bin/lrelease found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/bin/lrelease)
Program /usr/lib64/qt6/libexec/moc found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/moc)
Program /usr/lib64/qt6/libexec/qmlcachegen found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/qmlcachegen)
Program /usr/lib64/qt6/libexec/qmltyperegistrar found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/qmltyperegistrar)
Program /usr/lib64/qt6/libexec/rcc found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/rcc)
Program /usr/lib64/qt6/libexec/uic found: YES 6.8.3 6.8.3 (/usr/lib64/qt6/libexec/uic)

Qt6 moved all tools (at least those Meson cares about by default) except
lrelease from bin to libexec. Update order of probing in
QtBaseModule.compilers_detect accordingly to avoid some "... found: NO"
messages in Meson's output.
@jrosdahl jrosdahl requested a review from jpakkane as a code owner May 4, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant