CMake install (of LyX) on MacOS

pdv pdvisschere at edpnet.be
Sat Nov 30 18:30:13 UTC 2019


On 30/11/2019 11:03, Kornel Benko wrote:
> 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?

I have it switched on.

> 
>> 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?

I think so; It may also work with 5.9.

> 
> 	Kornel
> 
> 




More information about the lyx-devel mailing list