diff options
author | Indivara Weerasuriya <indivara.weerasuriya@qt.io> | 2024-07-30 19:56:01 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-11-20 13:35:26 +0000 |
commit | 57640e9fa1bb637efc731770b9947032677e1e99 (patch) | |
tree | 207fdf92411a71baadfe01d1dfac7d47eed4ecd1 /classes | |
parent | d8f6452b4baa14545ef6bf67099d06ebd02bb008 (diff) |
Fix meson unable to find Qt 6 uic
Change-Id: I22beb7fdaf32c2c56653eb192892b50ae72ed733
Signed-off-by: Indivara Weerasuriya <indivara.weerasuriya@qt.io>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30144
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/meson_qt6_path.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/classes/meson_qt6_path.bbclass b/classes/meson_qt6_path.bbclass new file mode 100644 index 000000000..adbab9c99 --- /dev/null +++ b/classes/meson_qt6_path.bbclass @@ -0,0 +1,9 @@ +inherit meson pkgconfig qt6-paths + +# fix meson cannot find Qt6 uic +do_configure:prepend () { + QT_HOST_LIBEXECS_DIR="$(qmake -query QT_HOST_LIBEXECS)" + bbwarn "QT_HOST_LIBEXECS_DIR ${QT_HOST_LIBEXECS_DIR}" + export PATH=$PATH:${QT_HOST_LIBEXECS_DIR} +} + |