Fixes #17252. (Really, this time.) Now that extra-cmake-modules does not depend on Qt 5, it is possible to depend on it directly.