Commit 9ece93db authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

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.
parent e7b84b0f
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment