Upgrade fails: to 2.3.7

Pavel Sanda sanda at lyx.org
Wed Mar 20 09:59:06 UTC 2024


On Mon, Mar 18, 2024 at 08:40:23AM -0700, Rich Shepard wrote:
> Trying to upgrade from 2.3.6.1 to 2.3.7 fails here:
> -----
> 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"

Maybe you are mixing qt4 and qt5?

I would play with the following configure switches:

--disable-qt5

and perhaps

--with-qt-dir
--with-qt-includes
--with-qt-libraries

And you better purge all generated moc_* files in the tree between
your compilation attempts...

Pavel


More information about the lyx-users mailing list