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

Version 2.8.1.6 will cause C2039 error code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 2.8.1 (rev.06)
    • Build-time integration
    • None
    • Visual Stuidio 2020 V17.0.2 ,Window 10 21H2, System Language: Chinese

    Description

      When i include

       #include <winrt/Windows.UI.ViewManagement.h>

      #if (defined (Q_OS_WIN))//WindowsAPI
      extern "C" {
      #include <sdkddkver.h>
      #include <Windows.h>
      }
      #if (WDK_NTDDI_VERSION > NTDDI_WIN10_RS3 )  
      #include <winrt/Windows.UI.ViewManagement.h>
      using namespace winrt::Windows::UI::ViewManagement;
      #endif
      #endif

      wait_for": not a member of "winrt::impl"...and warning C4828

      When I go back to Qt VS Tools 2.8.0 everything is fine  

       

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              jamas 建波 张
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes