Sounds like missing qt5 packages.
therecipe/qt's wiki recommends:
sudo pacman -S --noconfirm --needed qt5
This may be a bit excessive, though.
I believe these packages are enough at build time (and you actually need even less at run time):
qt5-base qt5-tools qt5-declarative qt5-imageformats qt5-network qt5-quickcontrols2 qt5-multimedia qt5-svg