Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Tools Visual Studio 2019 ver 2.9.1.1 does not recognize libraries.
Forum Updated to NodeBB v4.3 + New Features

Qt Tools Visual Studio 2019 ver 2.9.1.1 does not recognize libraries.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 997 Views 1 Watching
  • 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.
  • elicatE Offline
    elicatE Offline
    elicat
    wrote on last edited by
    #1

    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?

    Saluti, Gianfranco Elicat

    1 Reply Last reply
    1
    • M Offline
      M Offline
      MHutch
      wrote on last edited by
      #2

      I'm having this exact same issue (same vs and qt version). Any luck solving it?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MHutch
        wrote on last edited by
        #3

        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.

        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