CMake install (of LyX) on MacOS

Kornel Benko kornel at lyx.org
Sat Nov 30 10:03:45 UTC 2019


Am Fri, 29 Nov 2019 19:46:13 +0100
schrieb pdv <pdvisschere at edpnet.be>:

> I wonder if someone uses CMake on MacOS to make a LyX application 
> bundle.

Don't know. At the moment you are the only one who cares.

> One has at least to switch `LYX_INSTALL` ON but it did not work 
> right away for me. Basically all icons were missing.
> With some changes I could get it to work (patch included). One will also 
> have to define the locations of the Qt5-plugins and Qt5-libs folders 
> (`QT5_PLUGINS_DIR` and `QT5_LIBRARY_DIRS`).

I had the impression that we want to discard the use of 'LYX_BUNDLE=ON'.
Is that needed for XCode?

> Maybe not all plugins/imageformats are used/needed by lyx, but they are 
> all copied now, except for `_debug` versions which are excluded.
> Starting with Qt-5.12 it seems not possible anymore (or at least not 
> easy) to link to the `_debug` versions of the qt5-frameworks (with 
> cmake). And installing them into the bundle also does not work. So right 
> now this is not a big loss.
> 
> Patrick

Is the patch safe for Qt-versions < 5.12?

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20191130/f8f53419/attachment.asc>


More information about the lyx-devel mailing list