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

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

      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  

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes