[Qt] Resolve import and web-process paths automatically for QML tests