cmake build with qt6 (macos) does not include "plugins"
Kornel Benko
kornel at lyx.org
Sat Mar 23 10:35:39 UTC 2024
Am Thu, 21 Mar 2024 23:21:18 +0100
schrieb pdv <pdvisschere at edpnet.be>:
> On 20/03/2024 11:26, Pavel Sanda wrote:
> > On Tue, Mar 19, 2024 at 04:02:34PM +0100, pdv wrote:
> >> These steps have been added to my previous patch (new patch included) and I
> >> also derived the QT_PLUGINS_DIR and QT_LIBRARY_DIRS variables from the
> >> existing Qt6_DIR/Qt5_DIR variable, so they must not longer be supplied.
> >
> > I see there is some very old bug related to osx budles, pehaps it should be closed?
> > https://www.lyx.org/trac/ticket/9018
> >
> >> I only tested this with Qt6.
> >
> > Unf we are staying out of Qt6 for mac because of serious issues we were not able to
> > solve (see bug https://www.lyx.org/trac/ticket/12641 ).
> >
> > Pavel
>
> That will not be so easy (with cmake).
> The signing issue also holds for Qt5.
>
> I've done my homework again.
> I realized that my previous solution (although it worked for me) was not
> ideal. I can't remember why anymore but for Qt6 I copied just all the
> plugins, which of course worked but was ineffective.
>
> It's clear now that (for installing a bundle on macos with cmake) there
> is no difference between Qt5 (supposed the version is GTE 5.10) and Qt6.
>
> This makes things much simpler.
>
> But at least with the latest macos tools (Sonoma and XCode15) a bundle
> refuses to run if it 's not signed properly.
>
> Both issues are solved with the patch included and have now been tested
> with Qt5.15 and Qt6.7.
>
> For completeness: I've checked the font-emph shortcut issue and, as
> reported in the ticket mentioned, ^CmdE works with Qt5.15 but not with
> Qt6.7. However the sequence ^C E does work. I don't know whether this is
> intended as a workaround for this issue or was already implemented.
>
> pdv
Committed at 58aca890.
Since
1.) It is tested on mac
2.) Uses cmake variable LYX_BUNDLE=ON (which is only used on mac so far as I can see)
I do not expect problems with other OP's.
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/20240323/4790e4c0/attachment.asc>
More information about the lyx-devel
mailing list