Search code examples
qtvisual-c++qmlqt-quickopenvr

QtQuick is not installed properly with Visual C++


We are trying to run OpenVR emulator (link https://github.com/matzman666/OpenVR-InputEmulator) in visual studio 2015. The build is successful. But we are getting the error

enter image description here

It seems that Qt library is not installed properly in our machine. We have tried reinstalling Qt library. The log below says that QtQuick is not installed. However, we have fully installed Qt 5.7.0 . Can anyone please provide some clue or help regarding this ??

enter image description here


Solution

  • So in your path I see you have the bin dir and the root qt dir, you need to have the lib dir as well. And you can delete the root dir, nothing will need that.

    So add:

    c:\Qt\Qt5.7.0\5.7\msvc2015_64\lib

    Then it might help too to add:

    QTDIR=c:\qt\qt5.7.0\5.7\msvc2015

    Not to the PATH but to the var QTDIR. That may or may not be necessary at all though, but it could help