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. Creating a new Qt project with Qt VS Tools on Visual Studio 2019 throws a project error
QtWS25 Last Chance

Creating a new Qt project with Qt VS Tools on Visual Studio 2019 throws a project error

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
vs 2019vstoolsproject
2 Posts 2 Posters 1.4k 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.
  • johnratiusJ Offline
    johnratiusJ Offline
    johnratius
    wrote on last edited by johnratius
    #1

    I have installed several versions of Qt VS Tools including the most recent, 2.20, 2.51, and others. With the latest version, the extension crashed when I added a new Qt version in the extension's options. I went with an older version and I could finally add Qt versions. Here is a picture of the settings. Image of Qt Versions in Qt VS Tools extension Whenever I create a new Qt project in VS 2019, I get this error:

    The following error occurred: Error reading VS project settings
    

    Currently, the extension is at version 2.5.2.1. I would try to change the type of compiler in the project, but it doesn't generate a project to begin with.
    What can I do to solve this?

    Other information:
    VS 2019 v 16.7.0
    VSI v 2.7.3061.716
    Qt VS Tools v 2.5.2.1
    VS2019 Install Config:

    {
      "version": "1.0",
      "components": [
        "Microsoft.VisualStudio.Component.CoreEditor",
        "Microsoft.VisualStudio.Workload.CoreEditor",
        "Microsoft.NetCore.Component.Runtime.3.1",
        "Microsoft.NetCore.Component.SDK",
        "Microsoft.VisualStudio.Component.NuGet",
        "Microsoft.Net.Component.4.6.1.TargetingPack",
        "Microsoft.VisualStudio.Component.Roslyn.Compiler",
        "Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
        "Microsoft.VisualStudio.Component.FSharp",
        "Microsoft.NetCore.Component.DevelopmentTools",
        "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions",
        "Microsoft.Net.Component.4.8.SDK",
        "Microsoft.Net.Component.4.7.2.TargetingPack",
        "Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
        "Microsoft.VisualStudio.Component.TypeScript.3.9",
        "Microsoft.VisualStudio.Component.JavaScript.TypeScript",
        "Microsoft.VisualStudio.Component.JavaScript.Diagnostics",
        "Microsoft.Component.MSBuild",
        "Microsoft.VisualStudio.Component.TextTemplating",
        "Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime",
        "Microsoft.VisualStudio.Component.Common.Azure.Tools",
        "Microsoft.VisualStudio.Component.SQL.CLR",
        "Microsoft.VisualStudio.Component.ManagedDesktop.Core",
        "Microsoft.Net.Component.4.5.2.TargetingPack",
        "Microsoft.Net.Component.4.5.TargetingPack",
        "Microsoft.VisualStudio.Component.IntelliCode",
        "Microsoft.Net.Component.4.TargetingPack",
        "Microsoft.Net.Component.4.5.1.TargetingPack",
        "Microsoft.Net.Component.4.6.TargetingPack",
        "Microsoft.Net.ComponentGroup.TargetingPacks.Common",
        "Microsoft.Net.Core.Component.SDK.2.1",
        "Microsoft.VisualStudio.Component.DiagnosticTools",
        "Microsoft.VisualStudio.Component.EntityFramework",
        "Microsoft.VisualStudio.Component.WebDeploy",
        "Component.Microsoft.VisualStudio.LiveShare",
        "Microsoft.Component.PythonTools",
        "Microsoft.Component.PythonTools.Miniconda",
        "Microsoft.Component.PythonTools.Web",
        "Microsoft.VisualStudio.Component.VC.CoreIde",
        "Microsoft.VisualStudio.Component.Windows10SDK",
        "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
        "Microsoft.VisualStudio.Component.Graphics.Tools",
        "Microsoft.VisualStudio.Component.VC.DiagnosticTools",
        "Microsoft.VisualStudio.Component.Windows10SDK.18362",
        "Microsoft.ComponentGroup.PythonTools.NativeDevelopment",
        "Component.CPython3.x64",
        "Microsoft.VisualStudio.Workload.Python",
        "Microsoft.VisualStudio.Component.Node.Tools",
        "Microsoft.VisualStudio.Workload.Node",
        "Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
        "Microsoft.ComponentGroup.Blend",
        "Microsoft.VisualStudio.Component.Debugger.JustInTime",
        "Microsoft.VisualStudio.Component.DotNetModelBuilder",
        "Microsoft.VisualStudio.Workload.ManagedDesktop",
        "Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
        "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
        "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake",
        "Microsoft.VisualStudio.Component.VC.CMake.Project",
        "Microsoft.VisualStudio.Component.VC.ATL",
        "Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest",
        "Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest",
        "Microsoft.VisualStudio.Component.VC.ATLMFC",
        "Microsoft.VisualStudio.Component.VC.CLI.Support",
        "Microsoft.VisualStudio.Component.VC.ASAN",
        "Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
        "Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset",
        "Microsoft.VisualStudio.Component.VC.Llvm.Clang",
        "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang",
        "Component.IncredibuildMenu",
        "Component.Incredibuild",
        "Microsoft.VisualStudio.Component.Windows10SDK.17763",
        "Microsoft.VisualStudio.Component.Windows10SDK.17134",
        "Microsoft.VisualStudio.Component.Windows10SDK.16299",
        "Microsoft.VisualStudio.Component.VC.v141.x86.x64",
        "Microsoft.Component.VC.Runtime.UCRTSDK",
        "Microsoft.VisualStudio.Component.VC.140",
        "Microsoft.VisualStudio.Workload.NativeDesktop",
        "Component.OpenJDK",
        "Microsoft.VisualStudio.Component.MonoDebugger",
        "Microsoft.VisualStudio.Component.Merq",
        "Component.Xamarin.RemotedSimulator",
        "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine",
        "Component.Xamarin",
        "Component.Android.SDK28",
        "Microsoft.VisualStudio.Workload.NetCrossPlat",
        "Microsoft.VisualStudio.Workload.NativeGame",
        "Component.MDD.Linux",
        "Component.Linux.CMake",
        "Microsoft.VisualStudio.Workload.NativeCrossPlat"
      ]
    }
    
    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuersat
      wrote on last edited by
      #2

      Hi,
      I am facing the same problem using Qt 5.12.4 and msvc2019.

      The following error occurred: Error reading VS project settings.

      Does anyone have a solution for that? I tried reinsalling VS, didnt work.
      Tried different qt vs tools didnt work.
      Any information is appreciated, thanks!

      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