QmlDesigner: Compile fix with namespaced Qt

Change-Id: I51d25ac299ecd0374ef5c01e5d4c686a8730e082
Reviewed-by: hjk <hjk121@nokiamail.com>