Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119909

qffmpegscreencapture_dxgi.cpp(288): error C2039: 'QWindowsScreen': is not a member of 'QNativeInterface::Private'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.7.0 FF
    • 6.7.0 FF
    • Multimedia
    • None
    • 3e3f6b44e (dev)

    Description

      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(288): error C2039: 'QWindowsScreen': is not a member of 'QNativeInterface::Private'
      C:\Users\qt\work\install\include\QtGui\6.7.0\QtGui\qpa/qplatformscreen_p.h(35): note: see declaration of 'QNativeInterface::Private'
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(288): error C2065: 'QWindowsScreen': undeclared identifier
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(288): error C2672: 'QScreen::nativeInterface': no matching overloaded function found
      C:\Users\qt\work\install\include\QtGui\qscreen.h(120): note: could be 'NativeInterface *QScreen::nativeInterface(void) const'
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(288): note: 'QScreen::nativeInterface': invalid template argument for 'NativeInterface', type expected
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(289): error C3536: 'winScreen': cannot be used before it is initialized
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(323): error C2039: 'QWindowsScreen': is not a member of 'QNativeInterface::Private'
      C:\Users\qt\work\install\include\QtGui\6.7.0\QtGui\qpa/qplatformscreen_p.h(35): note: see declaration of 'QNativeInterface::Private'
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(323): error C2065: 'QWindowsScreen': undeclared identifier
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(323): error C2672: 'QScreen::nativeInterface': no matching overloaded function found
      C:\Users\qt\work\install\include\QtGui\qscreen.h(120): note: could be 'NativeInterface *QScreen::nativeInterface(void) const'
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(323): note: 'QScreen::nativeInterface': invalid template argument for 'NativeInterface', type expected
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(324): error C3536: 'winScreen': cannot be used before it is initialized
      C:\Users\qt\work\qt\qtmultimedia\src\plugins\multimedia\ffmpeg\qffmpegscreencapture_dxgi.cpp(327): error C2737: 'handle': const object must be initialized
      

      Build log: https://testresults.qt.io/logs/qt/qtmultimedia/d293032abfdc49915b6bb71fa688354b024ab61b/WindowsWindows_10_22H2x86_64WindowsWindows_10_22H2x86_64MSVC2022qtci-windows-10_22H2-x86_64-51-02f7f4DebugAndRelease_Sccache_UseConfigure/c6bf2331cacd65d7a0009097e1c52abb49b47586/build_1705084509/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtmultimedia/tasks/1705084495

      Tested changes (refs/builds/qtci/dev/1702115895):
      https://codereview.qt-project.org/c/qt/qtmultimedia/+/524129/2 Update dependencies on 'dev' in qt/qtmultimedia

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-119909
          # Subject Branch Project Status CR V

          Activity

            People

              johanseg Jøger Hansegård
              janihe Jani Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes