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

Qt application wizard creates dysfunctional projects (VS2017)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.1 (rev.12), 2.4.2
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Environment:
      Visual Studio 2017 15.9.16
    • Platform/s:
      Windows
    • Commits:
      0aa4799b37048c0ce3529e984ff96ebf463a8a3f

      Description

      When creating a new Qt GUI application using the Visual Studio Qt wizard, the created project shows messed up Qt project settings and is unable to compile.

      Steps to reproduce:

      1. Select "New Project -> Visual C++ -> Qt -> Qt GUI Application"
      2. Confirm default module selection (Core, GUI, Widgets)
      3. Confirm default Qt class / file settings

      Result:

      1. Qt Project Settings appear mostly empty / no Qt version is selected (see attached screenshot)
      2. No Qt modules are selected in the Qt Project Settings
      3. Any manual changes to Qt Project Settings are discarded right away (including selecting a Qt version manually)
      4. Project is not able to compile as it misses all the include paths and such

      Note that a working Qt version (5.5.1) is selected as default Qt version and that any existing Qt projects are working just fine.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTVSADDINBUG-680
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              mecfc Miguel Costa
              Reporter:
              fgross Florian Groß
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes