There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages qmake-look-for-modules-in-target https://github.com/void-linux/void-packages/pull/28575 build-style/qmake: look for modules in target - With this added, we can remove qt5*-devel from hostmakedepends - [ci skip] A patch file from https://github.com/void-linux/void-packages/pull/28575.patch is attached