fix build with namespaced Qt

Change-Id: I1100a4e5bf2a87c2e6175704cdfac0e2b1d382ac
Reviewed-by: hjk <hjk121@nokiamail.com>
QmlDesigner: Support anchoring at snapping

Change-Id: I3ec504e931ee63761538acb4666a3c8ce1a592e5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>