QT6.9示例Bluetooth HeartGame在VS2022中启动失败
Unsolved
Chinese
-
我使用QT Creator打开Bluetooth HeartGame DEMO可以正常运行,通过Visual Studio 2022可以正常编译,但是点击运行时没反应,通过LOG看是QML引擎加载错误,报错信息上下文是:“heartrate-game.exe”(Win32): 已加载“C:\Qt6\6.9.0\msvc2022_64\qml\QtQuick\Window\quickwindowplugind.dll”。包含/排除设置已禁用符号加载。
QQmlApplicationEngine failed to load component
qrc:/qt/qml/HeartRateGame/Main.qml:18:5: DeviceFinder is not a type
线程 'QQmlThread' (21304) 已退出,返回值为 0 (0x0)。请问这是为何?是我哪儿配置不正确吗?