Unsolved 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
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 ??
-
It sounds to me like it just can't find the QtQuick libraries. Are they in your PATH? You can also try deploying them into your application directory so they can be loaded from there. If it still fails from there you may actually have a bad install.
-
Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt
-
@sierdzio said in QtQuick is not installed properly with Visual C++:
Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt
Even better ... make sure your QTDIR is set like they tell in your instructions rather than cluttering up your PATH or installing the libs into your app's bin dir. :) Good catch @sierdzio.
-
@ambershark Yes, i followed it correcly but unluckily it wont work.. Thank you for the reply.
-
@DavidSilwal If it didn't work, try adding the Qt lib directory to your path and executing again. Or like I said try copying the libs it needs into the directory with the app.
It's possible you don't have a good install of Qt but it really feels like a QTDIR/PATH issue more than a bad install.
-
Hm, there's a qt.conf file in the source tree, it might be worth checking out if it is not changing your paths.
-
@ambershark @sierdzio ,Yes, i set the qt lib directory path to my and colleague PC,still getting the same error.. and also i have tried to copy all the bin file to deployment directory..
I have install qt from https://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-windows-x86-msvc2015_64-5.7.0.exe,.I believe i installed the instructed version of installer of qt. i dont think it is a bad installer..I still get the same erro :'(
I couldnot figured it out why this happens.
-
@DavidSilwal 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.Edit: Also like @sierdzio mentioned, make sure that if there is a qt.conf file in your binary dir for your app that it is not setting a weird path. If it is you can adjust it to your path to get things working.
-
@ambershark Thank you very much for useful information..
i have followed your instruction in my both of PC..
the previous error was gone. but new error has come..could you help me look into it?
-
Looks like you need to use Qt 5.9.1 instead of 5.7. The readme is outdated, apparently (or compile the plugin yourself using Qt 5.7).