QtAV icon indicating copy to clipboard operation
QtAV copied to clipboard

Latest QtAV GitHub revision 3b93799 (2022-01-13) does not compile against Qt 6 under Windows

Open pkl97 opened this issue 3 years ago • 0 comments

When trying to compile the latest QtAV version against Qt 6 under Windows several compile errors occur.

This is the first encountered:

VideoDecoderDXVA.cpp E:\QtAV\1.13.0-20220113\QtAV\src\codec\video\VideoDecoderDXVA.cpp(101): error C2039: 'windowsVersion': is not a member of 'QSysInfo' E:\Qt\6.2.1\qt\install\include\QtCore\qsysinfo.h(53): note: see declaration of 'QSysInfo' E:\QtAV\1.13.0-20220113\QtAV\src\codec\video\VideoDecoderDXVA.cpp(101): error C3861: 'windowsVersion': identifier not found E:\QtAV\1.13.0-20220113\QtAV\src\codec\video\VideoDecoderDXVA.cpp(101): error C2039: 'WV_VISTA': is not a member of 'QSysInfo' E:\Qt\6.2.1\qt\install\include\QtCore\qsysinfo.h(53): note: see declaration of 'QSysInfo' E:\QtAV\1.13.0-20220113\QtAV\src\codec\video\VideoDecoderDXVA.cpp(101): error C2065: 'WV_VISTA': undeclared identifier E:\QtAV\1.13.0-20220113\QtAV\src\codec\video\VideoDecoderDXVA.cpp(272): error C2039: 'sprintf': is not a member of 'QString' E:\Qt\6.2.1\qt\install\include\QtGui/qwindowdefs.h(79): note: see declaration of 'QString'

After revision https://github.com/wang-bin/QtAV/commit/ce21c55b6e277fc720e9fae2317afebb3cac7d33 I was under the impression that QtAV is now compatible with Qt 6.

Are there any plans to fix Windows compatibility?

pkl97 avatar Jan 14 '22 11:01 pkl97