qt5-base-headless DOES NOT WORK for this package. as it omits the literal only two parts that this package needs from Qt; Qt::Gui and Qt::Widgets.
Apparently the motivation to omit those is to provide a subset of Qt for building things in headless environments, beware of it breaking some packages I suppose ...
