Background: I'm trying to build and install ofono-phonesim from source, on Ubuntu 20.04 aarch64, so I can get HFP to work with Pulseaudio 13.99. I'm doing this because of the following: This answer says to go here, however the package there is still unavailable to me, I presume because it's amd64.
However when run ./configure on the repo directory I get notified that Qt is not found, even though I've installed Qt5:
checking for QT... no
configure: error: Qt is required
The line in configure.ac:
PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5Xml Qt5Network Qt5Qml Qt5DBus [Qt5Widgets >= 5.10], dummy=yes, AC_MSG_ERROR(Qt is required))
full console output:
user@machine:~/directory/phonesim$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for QT... no
configure: error: Qt is required
however, I've already installed Qt5:
user@machine:~/directory/phonesim$ dpkg -l | grep libqt5
ii libqt5concurrent5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 concurrent module
ii libqt5core5a:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 core module
ii libqt5dbus5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 D-Bus module
ii libqt5designer5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 designer module
ii libqt5gui5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 GUI module
ii libqt5help5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 help module
ii libqt5network5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 network module
ii libqt5opengl5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 OpenGL module
ii libqt5opengl5-dev:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 OpenGL library development files
ii libqt5printsupport5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 print support module
ii libqt5qml5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 QML module
ii libqt5quick5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 Quick library
ii libqt5quickcontrols2-5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 Quick Controls 2 library
ii libqt5quicktemplates2-5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 Quick Templates 2 library
ii libqt5sql5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 SQL module
ii libqt5svg5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 SVG module
ii libqt5test5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 test module
ii libqt5texttospeech5:arm64 5.12.8-0ubuntu1 arm64 Speech library for Qt - libraries
ii libqt5waylandclient5:arm64 5.12.8-0ubuntu1 arm64 QtWayland client library
ii libqt5waylandcompositor5:arm64 5.12.8-0ubuntu1 arm64 QtWayland compositor library
ii libqt5widgets5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 widgets module
ii libqt5x11extras5:arm64 5.12.8-0ubuntu1 arm64 Qt 5 X11 extras
ii libqt5xdg3:arm64 3.4.0-1build2 arm64 Implementation of the XDG Specifications for Qt (shared lib)
ii libqt5xdgiconloader3:arm64 3.4.0-1build2 arm64 Implementation of the XDG Iconloader for Qt (shared lib)
ii libqt5xml5:arm64 5.12.8+dfsg-0ubuntu1 arm64 Qt 5 XML module
How can I make Qt5 visible in this context? A little new to Linux and Autotools, so please and thank you.