Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-970

QT6 in Visual Studio plugin doesn't load projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 2.8.1 (rev.06), 2.9.0, 2.9.1
    • 2.7.1, 2.7.2 (rev.02), 2.8.1
    • General
    • None
    • Windows
    • ae5d0a3e6c (qt-labs/vstools/dev)

    Description

      I should preface everything below by saying I have been building QT5 projects (both 32 bit and 64 bit) for years in VS2019 using the 2.7.1 plugin without problems. I also just tried the 2.7.2 (rev 2) plugin. I'm a commercial licensee trying to move to QT6.

      Problem and repro steps

      • download 6.2.2 binaries using the commercial online installer
      • add C:\Qt\6.2.2\msvc2019_64 qmake to the Visual Studio versions list and select as default
      • using the plugin, open a project using "Open Qt Project file (.pro)"

      The plugin generates the following warning and doesn't load the project! This warning makes no sense.

      Warning

      qmake has generated a .vcproj file, but it needs to be converted.
      To do this you must open the .vcproj file manually.
      (Reason: qmake in Qt3 does not support generation of Visual Studio 2005 .vcproj files)

      If I set the Visual Studio versions default back to Qt 5.15.7, projects load fine and compile.

      I'm using Visual Studio 2019 16.11.8 on Windows 10 64 bit.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            mjsmithers Michael Smithers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes