cmake build with qt6 (macos) does not include "plugins"

Kornel Benko kornel at lyx.org
Sat Nov 4 19:35:56 UTC 2023


Am Sat, 4 Nov 2023 18:05:42 +0100
schrieb pdv <pdvisschere at edpnet.be>:

> On 04/11/2023 17:55, pdv wrote:
> > On 21/03/2023 19:27, Kornel Benko wrote:
> >> Am Tue, 21 Mar 2023 15:27:41 +0100
> >> schrieb pdv <pdvisschere at edpnet.be>:
> >>
> >>> On 21/03/2023 11:00, Kornel Benko wrote:
> >>>> Am Mon, 20 Mar 2023 20:05:32 +0100
> >>>> schrieb pdv <pdvisschere at edpnet.be>:
> >>>>> It's within the first if() else(), that's thus for qt6(see below). I
> >>>>> suppose this should work for all platforms, but I checked it on macos
> >>>>> only. Your patch is limited to APPLE and also works for me; If this
> >>>>> problem doesn't occur for other platforms, it's ok for me of course.
> >>>>
> >>>> Probably no one else is using the bundle option (-DLYX_BUNDLE=ON).
> >>>>
> >>>> If you could try to use cmake without this option, I'd be interested 
> >>>> if it works for
> >>>> you too.
> >>>
> >>> Apparently no problem. -DLYX_BUNDLE=OFF works too for me.
> >>>
> >>>> In this case we could get rid of it (probably).
> >>>>
> >>>>     Kornel
> >>>>
> >>>
> >>>
> >>
> >> Good, so I will disable this option for lyx2.5 then.
> >>
> >>     Kornel
> >>
> >>
> > I have build the latest lyx-master and I still need my (previous) patch 
> > to build a LyX.app which includes all required Qt6 frameworks (I want a 
> > stand-alone app).
> > 
> > I'm using a recent version of CMake and apparently versions older than 
> > 3.5 will not longer be supported. To get rid of the annoying warnings 
> > I've upped the minimum version from 3.1 to 3.5 (new patch included).
> > 
> > pdv
> > 
> Sorry, forgot to include the patch.

Will be done for 2.4.x versions. Also for other CMakeLists.txt's in the lyx-sources.

	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/20231104/d99064db/attachment.asc>


More information about the lyx-devel mailing list