QmlDesigner: Support Qt4 again

Task-number: QTCREATORBUG-12567
Change-Id: I5a6b7c4ca31f20d25301cc6fc19a549ce895c0b4
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>