c2248 compile error with qcompare and Qt 6.7.0
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Fri Apr 5 16:04:49 UTC 2024
Le 05/04/2024 à 17:55, Yu Jin a écrit :
> Yeah I get this error now in Text.cpp
>
> Build started at 17:53...
> 1>------ Build started: Project: LyX (applications\LyX\LyX),
> Configuration: Debug x64 ------
> 1>Text.cpp
> 1>C:\lyx\master\src\Text.cpp(5961,19): error C2065: 'uint': undeclared
> identifier
Is it better when replacing uint with unsigned int?
> 1>C:\lyx\master\src\Text.cpp(5961,11): error C2672: 'convert': no
> matching overloaded function found
> 1>C:\lyx\master\src\support\convert.h(24,8):
> 1>could be 'Target lyx::convert(Source)'
> 1> C:\lyx\master\src\Text.cpp(5961,19):
> 1> 'lyx::convert': invalid template argument for 'Target', type expected
> 1>Done building project "LyX.vcxproj" -- FAILED.
>
> (I omitted the Warnings)
Warnings might be useful to see too.
>
> What we learn here is that including <QDate> might be enough to trigger
> an error.
>
> No, I tried on a minimal project and just including it did not do
> anything, compiled successfully.
Good.
JMarc
More information about the lyx-devel
mailing list