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

Cannot build Qt Test Application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 3.3.1.1
    • General
    • Windows 11 23H2
      MSVS2019
      Qt 6.9.0

    Description

      1. Have MSVS2019 with installed Qt Visual Studio Tools.
        I used current VSTools from the marketplace.
      2. Configure Qt 6.9.0 beta1 as used Qt version.
        I installed that using an installation's MaintenanceTool: C:\Qt\6.9.0\msvc2022_64
      3. Create a new Qt Test Application (Qt/MSBuild) using the wizard.
      4. Try building the app.
        Compilation fails:
        C:\Qt\6.9.0\msvc2022_64\include\QtCore\qtmochelpers.h(262,66): error C2065: 'result': undeclared identifier
        

      When using MSVS2022, Qt 6.8.1 or a different project template, the build succeeds.

      Found and tested by Squish test tst_new_project_file_creation.

      Attachments

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

        Activity

          People

            qtvstools Qt VS Tools
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes