From 9ece93dbd80e74b5e937b4a6c781528b21c792e8 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 18 Jan 2019 14:41:14 +0530 Subject: [PATCH] meson: Search for qmake-qt5 before qmake The canonical name for the binary is qmake-qt5, and qmake is the generic name that can also be a qt4 qmake. --- ext/qt/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/qt/meson.build b/ext/qt/meson.build index 6fee167..3338265 100644 --- a/ext/qt/meson.build +++ b/ext/qt/meson.build @@ -49,7 +49,7 @@ if have_cxx and build_gstgl endif endif if not have_qpa_include - qmake = find_program('qmake') + qmake = find_program('qmake-qt5', 'qmake') if qmake.found() qt_version = run_command(qmake, '-query', 'QT_VERSION').stdout().strip() qt_include_dir = run_command(qmake, '-query', 'QT_INSTALL_HEADERS').stdout().strip() -- 2.7.4