Unsolved Qt Tools Visual Studio 2019 ver 2.9.1.1 does not recognize libraries.
-
Good evening,
I use Qt Visual Studio Tools in visual Studio 2019 in combination with QT version 5.14.2 and link the version to:C:\Qt\5.14.2\msvc2017_64\qmake.exe
If I try to open Qt project Setting I am notified:
Object reference not set to an instance
I cannot compile because the libraries are not recognized
ERROR : cannot Open source file #include <QObject> #include <QJsonArray> #include <QJsonObject> #include <QJSValue> #include <QVector>
I tried to uninstall the new version and install a previous one but when I close and reopen Visual Studio automatically updates even if I indicate not to update automatically.
Can anyone help me and tell me what's up?
-
I'm having this exact same issue (same vs and qt version). Any luck solving it?
-
I fixed mine by changing
<Keyword>Qt4VSv1.0</Keyword>
to
<Keyword>QtVS_v304</Keyword>
In my .vcxproj file.
I had to repoint it towards the install location, but no longer got the "Object reference not set to an instance" popup and can now build.