[packaging] Fix some requirements for the qt5 dev package. Contributes to JB#981