Qt 6 errors on Windows

Yu Jin yu_jin at lyx.org
Sun May 23 07:52:01 UTC 2021


I still can't compile with Qt 6, I just tried again with the recently
released Qt 6.1 but I get a lot of these errors:

Severity Code Description Project File Line Suppression State
Error C2535 'QChar::QChar(ushort) noexcept': member function already
defined or declared support (applications\LyX\support)
C:\Qt\6.1.0\msvc2019_64\include\QtCore\qchar.h 120

Severity Code Description Project File Line Suppression State
Error C2572 'qHash': redefinition of default argument: parameter 1 support
(applications\LyX\support)
C:\Qt\6.1.0\msvc2019_64\include\QtCore\qhashfunctions.h 143

Severity Code Description Project File Line Suppression State
Error C3615 constexpr function 'qHash' cannot result in a constant
expression support (applications\LyX\support)
C:\Qt\6.1.0\msvc2019_64\include\QtCore\qhashfunctions.h 143

Severity Code Description Project File Line Suppression State
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a
body support (applications\LyX\support)
C:\Qt\6.1.0\msvc2019_64\include\QtCore\qhashfunctions.h 143

It looks like these are Qt bugs, but I wanted to ask first before going to
Qt and making bug reports... maybe I am missing something. What do you
think?
-- 
    Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210523/62f17088/attachment.html>


More information about the lyx-devel mailing list