The examples build might not check for the flags that are used for the actual Qt build.

If you don't need the examples built configure with -no-examples

Cheers,
_