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') 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(189,5): 1>see declaration of 'Qt::partial_ordering::partial_ordering' 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(65,7): 1>see declaration of 'Qt::partial_ordering' 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(408,30): error C2248: 'Qt::partial_ordering::partial_ordering': cannot access private member declared in class 'Qt::partial_ordering' 1>(compiling source file '../../master/src/factory.cpp') 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(189,5): 1>see declaration of 'Qt::partial_ordering::partial_ordering' 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(65,7): 1>see declaration of 'Qt::partial_ordering' 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(411,27): error C2248: 'Qt::weak_ordering::weak_ordering': cannot access private member declared in class 'Qt::weak_ordering' 1>(compiling source file '../../master/src/factory.cpp') 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(377,5): 1>see declaration of 'Qt::weak_ordering::weak_ordering' 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(220,7): 1>see declaration of 'Qt::weak_ordering'
I posted it on Qt bug tracker https://bugreports.qt.io/browse/QTBUG-123934 but they can't reproduce. Can anybody make sense of this? I don't understand where LyX is trying to call these functions. Can you help create a minimal example? -- Eugene
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel