Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. building Qt src code and import to vs2019
Qt 6.11 is out! See what's new in the release blog

building Qt src code and import to vs2019

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 878 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.
  • T Offline
    T Offline
    TThityou
    wrote on last edited by
    #1

    我使用源码编译好了Qt,使用VS2019的Qt插件进行导入会出现这样的错误:

    “Invalid Qt versions:未将对象引用设置到对象的实例”

    --- QMake(29716): Querying persistent properties
    --- QMake(29716): Started E:_00_Build_Qt_5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\QMake.exe

    --- QMake(29716): Exit code 0 (49.6 msecs)
    An exception (KeyNotFoundException) occurred.
    Message:
    qmake error: no value for QT_INSTALL_PREFIX/src
    Stack Trace:
    在 QtVsTools.Core.QMakeConf..ctor(QtBuildToolQuery query)
    在 QtVsTools.Core.VersionInformation..ctor(String qtDir)

    1.jpg

    jsulmJ 1 Reply Last reply
    0
    • T TThityou

      我使用源码编译好了Qt,使用VS2019的Qt插件进行导入会出现这样的错误:

      “Invalid Qt versions:未将对象引用设置到对象的实例”

      --- QMake(29716): Querying persistent properties
      --- QMake(29716): Started E:_00_Build_Qt_5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\QMake.exe

      --- QMake(29716): Exit code 0 (49.6 msecs)
      An exception (KeyNotFoundException) occurred.
      Message:
      qmake error: no value for QT_INSTALL_PREFIX/src
      Stack Trace:
      在 QtVsTools.Core.QMakeConf..ctor(QtBuildToolQuery query)
      在 QtVsTools.Core.VersionInformation..ctor(String qtDir)

      1.jpg

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @TThityou You will need tp provide more information:

      • Do you follow the Qt build instructions?
      • What commands exactly did you execute?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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