You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS2015运行OpenVR InputEmulator遇QtQuick未正确安装问题求助

Fixing the QtQuick Not Found Error for OpenVR-InputEmulator in Visual Studio 2015

Hey there, let’s work through this QtQuick missing issue you’re hitting—even after reinstalling Qt 5.7.0, I’ve run into similar quirks with VS 2015 and Qt integration, so here’s what to check:

  • First, confirm you actually installed QtQuick components
    It’s easy to miss these in the Qt installer. Fire up the Qt 5.7.0 setup again, expand the Qt 5.7 branch, and make sure Qt Quick 2, Qt Quick Controls, and all related sub-modules are checked. Minimal installs often skip these, which is the most common culprit here.

  • Validate your Qt Visual Studio Tools setup
    If you’re using the Qt VS Tools extension (you should be for smooth integration), head to Qt VS Tools > Qt Options. Make sure your Qt 5.7.0 path is added, and that the compiler matches your project’s target (MSVC 2015 32/64-bit). Then right-click your project, go to Qt Project Settings, and double-check the correct Qt version is selected for the project—sometimes VS defaults to an older version if you have multiple installs.

  • Manually add QtQuick paths to your project
    Sometimes the project doesn’t auto-pick up the QtQuick include/lib paths. In your VS project properties:

    • Under C/C++ > General, add [your Qt install path]\5.7.0\msvc2015\include\QtQuick (and QtQml while you’re at it) to the Additional Include Directories.
    • Under Linker > General, add [your Qt install path]\5.7.0\msvc2015\lib to Additional Library Directories.
      Also, make sure the necessary DLLs (Qt5Quick.dll, Qt5Qml.dll, plus debug variants if building in Debug mode) are either in your system PATH or copied to your project’s output folder.
  • Clean and rebuild from scratch
    Cached build files can mess with path resolution. Delete your project’s obj, bin, and build folders, then do a full rebuild in VS. If you’re using the Qt extension, clear its cache too—sometimes it holds onto old path info.

  • Check for conflicting Qt versions
    If you have other Qt versions installed, VS might be pulling the wrong one. Make sure your Qt 5.7.0 path is at the top of your system’s PATH environment variable, or lock the project to use 5.7.0 explicitly via the Qt VS Tools options.

Quick hack: If you’re still stuck, try opening the project in Qt Creator (it’s included with your Qt install). If it works there, compare the project settings in Qt Creator with VS—you’ll likely spot a missing path or configuration that VS missed.

内容的提问来源于stack exchange,提问作者David Silwal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 03:53:27