Compiling and using master on macOS

Stephan Witt st.witt at gmx.net
Sun Mar 15 20:37:44 UTC 2020


Am 15.03.2020 um 17:16 schrieb Daniel <xracoonx at gmx.de>:
> 
> Hi,
> 
> I am about to try compiling and using master on macOS. I just has a look at INSTALL.MacOSX. It mentions Qt version 4. That seems a bit outdated. But I guess that I am looking at the latest guide to compile on macOS, right?

Yes, it’s outdated. It should work with Qt4 - but Qt4 cannot be used on recent macOS.

Basically I’m using the script LyX-Mac-binary-release.sh in development folder. That’s much easier than other options, IMO.

First step is to install Xcode and the automake and/or cmake utilities. This can be done with macports or homebrew. I’m using macports.

Second step is to get Qt5 - as source or binary distribution. I’m using the source tarball and build Qt5 myself.

Optional components are the spell checker and libmagic frameworks.

Finally I start development/LyX-Mac-binary-release.sh with
--enable-cxx11
--with-qt-dir=/path/to/qt5

Stephan


More information about the lyx-devel mailing list