> 2025/10/16 17:47、Pavel Sanda <[email protected]>のメール:
> 
> Qt 6.10 is out, let's see whether the the first problem with dialog
> is solved.

I tried to test but at this moment Qt 6.10 emits the following error on master 
& MacOS.

Koji

---
In file included from /Users/koji/repos/lyx/src/frontends/qt/Menus.cpp:19:
In file included from /Users/koji/repos/lyx/src/frontends/qt/Menus.h:16:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/QMenu:1:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/qmenu.h:8:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/qwidget.h:9:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qobject.h:11:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qstring.h:15:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qchar.h:723:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qstringview.h:11:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qbytearray.h:11:
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qarraydata.h:177:87: 
error: invalid application of 'sizeof' to an incomplete type 
'lyx::frontend::(anonymous namespace)::MenuDefinition'
  177 |         return (QtPrivate::MaxAllocSize - 
sizeof(QtPrivate::AlignedQArrayData) - 1) / sizeof(T);
      |                                                                         
              ^~~~~~~~~
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qlist.h:446:57: note: 
in instantiation of member function 'QTypedArrayData<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::maxSize' requested here
  446 |     static constexpr qsizetype maxSize() { return Data::maxSize(); }
      |                                                         ^
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qlist.h:450:36: note: 
in instantiation of member function 'QList<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::maxSize' requested here
  450 |         constexpr size_t MaxSize = maxSize();
      |                                    ^
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qlist.h:458:54: note: 
in instantiation of member function 'QList<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::size' requested here
  458 |     constexpr bool isEmpty() const noexcept { return size() == 0; }
      |                                                      ^
/Users/koji/repos/lyx/src/frontends/qt/Menus.cpp:288:45: note: in instantiation 
of member function 'QList<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::isEmpty' requested here
  288 |         bool hasSubmenu() const { return !submenu_.isEmpty(); }
      |                                                    ^
/Users/koji/repos/lyx/src/frontends/qt/Menus.cpp:96:7: note: forward 
declaration of 'lyx::frontend::(anonymous namespace)::MenuDefinition'
   96 | class MenuDefinition;
      |       ^
In file included from /Users/koji/repos/lyx/src/frontends/qt/Menus.cpp:19:
In file included from /Users/koji/repos/lyx/src/frontends/qt/Menus.h:16:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/QMenu:1:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/qmenu.h:8:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtWidgets.framework/Headers/qwidget.h:9:
In file included from 
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qobject.h:13:
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qlist.h:450:26: error: 
constexpr variable 'MaxSize' must be initialized by a constant expression
  450 |         constexpr size_t MaxSize = maxSize();
      |                          ^         ~~~~~~~~~
/Users/koji/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qlist.h:458:54: note: 
in instantiation of member function 'QList<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::size' requested here
  458 |     constexpr bool isEmpty() const noexcept { return size() == 0; }
      |                                                      ^
/Users/koji/repos/lyx/src/frontends/qt/Menus.cpp:288:45: note: in instantiation 
of member function 'QList<lyx::frontend::(anonymous 
namespace)::MenuDefinition>::isEmpty' requested here
  288 |         bool hasSubmenu() const { return !submenu_.isEmpty(); }
      |                                                    ^
2 errors generated.
make[2]: *** [src/frontends/qt/CMakeFiles/frontend_qt.dir/Menus.cpp.o] Error 1
make[1]: *** [src/frontends/qt/CMakeFiles/frontend_qt.dir/all] Error 2
make: *** [all] Error 2
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to