Right, connect to the warnings() signal.

I mixed that up with QQmlComponent::errors().

Cheers,
_