Qt version bump is around the corner (#21376).
As a preparation, this PR makes Qt static plugins/libs check code more correct, and easier to reason about.
configure
script log (for HOST=x86_64-pc-linux-gnu
):
- master (b4d22654fe9e90093e643cb7beb896c48a274d47):
0checking for static Qt plugins: -lqminimal... yes
1checking for static Qt plugins: -lqxcb -lxcb-static... yes
- this PR:
0checking for QMinimalIntegrationPlugin (-lqminimal)... yes
1checking for QXcbIntegrationPlugin (-lqxcb -lxcb-static)... yes