Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QT6.9示例Bluetooth HeartGame在VS2022中启动失败
Forum Update on Monday, May 27th 2025

QT6.9示例Bluetooth HeartGame在VS2022中启动失败

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 375 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy.chuang
    wrote last edited by
    #1

    我使用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)。

    请问这是为何?是我哪儿配置不正确吗?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved