Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't add Qt versions in 'Qt versions' wizard when using 'Qt vs tools'
Forum Updated to NodeBB v4.3 + New Features

Can't add Qt versions in 'Qt versions' wizard when using 'Qt vs tools'

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 175 Views
  • 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.
  • D Offline
    D Offline
    diverger
    wrote on 18 May 2021, 11:50 last edited by diverger
    #1

    I'm using VS 16.9.5 with Qt vs tools 2.7.1 (rev. 18). After adding the Qt's qmake.exe path in 'Qt versions' wizard, and pressing OK. The the 'Qt VS Tools' output to the VS output window some error messages:

    --- qmake(5544): started E:\QT\OFFICIAL\5.15.2\MSVC2019\bin\qmake.exe
    --- qmake: Querying persistent properties
    --- qmake(5544): exit code 0 (92.02 msecs)

    --- qmake(10984): started E:\QT\OFFICIAL\5.15.2\MSVC2019\bin\qmake.exe
    --- qmake: Working Directory: C:\Users\diver\AppData\Local\Temp\sttjxfga.23c
    --- qmake: Arguments: QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe -o "sttjxfga.23c.vcxproj" -tp vc -Wnone "sttjxfga.23c.pro"
    Info: creating stash file C:\Users\diver\AppData\Local\Temp\sttjxfga.23c.qmake.stash
    Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
    --- qmake(10984): exit code 3 (295.35 msecs)

    Error reading VS project settings

    Stacktrace:
    at QtVsTools.Core.VersionInformation..ctor(String qtDirIn)
    at QtVsTools.Core.VersionInformation.Get(String qtDir)
    at QtVsTools.Options.QtVersionsPage.SaveSettingsToStorage()
    --- qmake(18544): started E:\QT\OFFICIAL\5.15.2\MSVC2019\bin\qmake.exe
    --- qmake: Querying persistent properties
    --- qmake(18544): exit code 0 (58.39 msecs)

    So, actually the Qt version is not be added. When I open the wizard again, the versions are empty again.

    I've reported this to VS tools guys. But had no replies for about months. So, I come here for help.

    Thanks.

    1 Reply Last reply
    0

    1/1

    18 May 2021, 11:50

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved