QmlDebugger: Fix connection with older Qt versions

Task-number: QTCREATORBUG-10694
Change-Id: Ib94acfdd00f4e9b44ec5a982f664b8bd982e8eab
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>