LyX 2.3.7 Released

Rich Shepard rshepard at appl-ecosys.com
Mon Jan 9 20:27:04 UTC 2023


On Mon, 9 Jan 2023, Jürgen Spitzmüller wrote:

> Try with the configure option
> --enable-qt4

Jürgen,

Changing the configure variable from qt5 to qt4 makes no difference. The
same error(s) stop the build:

   GEN      moc_SystemcallPrivate.cpp
make  all-am
make[5]: Entering directory '/tmp/SBo/lyx-2.3.7/src/support'
   CXX      FileMonitor.o
In file included from FileMonitor.cpp:262:0:
moc_FileMonitor.cpp:13:2: error: #error "This file was generated using the moc from 4.8.7. It"
  #error "This file was generated using the moc from 4.8.7. It"
   ^
moc_FileMonitor.cpp:14:2: error: #error "cannot be used with the include files from this version of Qt."
  #error "cannot be used with the include files from this version of Qt."
   ^
moc_FileMonitor.cpp:15:2: error: #error "(The moc has changed too much.)"
  #error "(The moc has changed too much.)"
   ^
moc_FileMonitor.cpp:64:7: error: ‘QMetaObjectExtraData’ does not name a type
  const QMetaObjectExtraData lyx::support::FileMonitorGuard::staticMetaObjectExtraData = {
        ^
moc_FileMonitor.cpp:70:53: error: ‘staticMetaObjectExtraData’ was not declared in this scope
        qt_meta_data_lyx__support__FileMonitorGuard, &staticMetaObjectExtraData }
                                                      ^
moc_FileMonitor.cpp: In member function ‘virtual const QMetaObject* lyx::support::FileMonitorGuard::metaObject() const’:
moc_FileMonitor.cpp:79:71: error: conditional expression between distinct pointer types ‘QDynamicMetaObjectData*’ and ‘const QMetaObject*’ lacks a cast
      return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                                                                        ^
moc_FileMonitor.cpp: At global scope:
moc_FileMonitor.cpp:152:7: error: ‘QMetaObjectExtraData’ does not name a type
  const QMetaObjectExtraData lyx::support::FileMonitor::staticMetaObjectExtraData = {
        ^
moc_FileMonitor.cpp:158:48: error: ‘staticMetaObjectExtraData’ was not declared in this scope
        qt_meta_data_lyx__support__FileMonitor, &staticMetaObjectExtraData }
                                                 ^
moc_FileMonitor.cpp: In member function ‘virtual const QMetaObject* lyx::support::FileMonitor::metaObject() const’:
moc_FileMonitor.cpp:167:71: error: conditional expression between distinct pointer types ‘QDynamicMetaObjectData*’ and ‘const QMetaObject*’ lacks a cast
      return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                                                                        ^
moc_FileMonitor.cpp: At global scope:
moc_FileMonitor.cpp:239:7: error: ‘QMetaObjectExtraData’ does not name a type
  const QMetaObjectExtraData lyx::support::ActiveFileMonitor::staticMetaObjectExtraData = {
        ^
moc_FileMonitor.cpp:245:54: error: ‘staticMetaObjectExtraData’ was not declared in this scope
        qt_meta_data_lyx__support__ActiveFileMonitor, &staticMetaObjectExtraData }
                                                       ^
moc_FileMonitor.cpp: In member function ‘virtual const QMetaObject* lyx::support::ActiveFileMonitor::metaObject() const’:
moc_FileMonitor.cpp:254:71: error: conditional expression between distinct pointer types ‘QDynamicMetaObjectData*’ and ‘const QMetaObject*’ lacks a cast
      return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                                                                        ^
Makefile:977: recipe for target 'FileMonitor.o' failed
make[5]: *** [FileMonitor.o] Error 1
make[5]: Leaving directory '/tmp/SBo/lyx-2.3.7/src/support'
Makefile:828: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/tmp/SBo/lyx-2.3.7/src/support'
Makefile:2806: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/lyx-2.3.7/src'
Makefile:1900: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/SBo/lyx-2.3.7/src'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/lyx-2.3.7'
Makefile:474: recipe for target 'all' failed
make: *** [all] Error 2

Thanks for the suggestion,

Rich


More information about the lyx-users mailing list