Move the registerQmlDependencies method into QQmlPropertyCapture