Le 03/04/2024 à 17:03, Yu Jin a écrit :
I am not able to compile LyX with the newest Qt (6.7.0), I get these error when compiling factory.cpp: 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(228,30): error C2248: 'Qt::partial_ordering::partial_ordering': cannot access private member declared in class 'Qt::partial_ordering' 1>Note: including file: C:\Qt\6.7.0\msvc2019_64\include\QtCore/qlatin1stringview.h 1>Note: including file:  C:\Qt\6.7.0\msvc2019_64\include\QtCore/qchar.h
1>(compiling source file '../../master/src/factory.cpp')

Hi,

I believe that the reason factory.cpp triggers this bug is that InsetInfo.h includes <QDate>. I fixed that in git master, because it is a bad idea and it is not really necessary.

You should now experience a compiler error somewhere else %-] At least it should be a less weird message.

What we learn here is that including <QDate> might be enough to trigger an error.

JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to