qt: fix build some more when QPA is not available