VS tools doesn't handle Qml plugins when a static Qt build is used. For example the project template "Qt Quick Application" in VS19 would shut down instantly with:
QQmlApplicationEngine failed to load component
qrc:/main.qml:1:1: module "QtQuick" plugin "qtquick2plugin" not found
because it's not linking against qml / quick plugins and the corresponding import plugin macros are missing as well. All of that has to be added manually.