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

Kornel Benko kornel at lyx.org
Mon Mar 20 09:50:01 UTC 2023


Am Sun, 19 Mar 2023 20:45:55 +0100
schrieb pdv <pdvisschere at edpnet.be>:

> The merge branch killqt4 (commit 9376... on nov 28) broke the cmake 
> install build on macos.
> 
> The "development/cmake/post_install/CMakeLists.txt' SCRIPT checks for 
> qt5 and copies all plugins if different. This did work for qt4 but also 
> for qt6.
> 
> The killqt4 branch removed this else part for qt4 but also for qt6.
> 
> The included patch restores this else clause and only the comment has 
> been adapted (qt6 instead of qt4).
> 
> Since I don't know which plugins are actually needed I copied them all.
> 
> Regards,
> 
> P. De Visschere

But your patch is inside of
	if(LYX_BUNDLE)
		if(Qt5Core_FOUND
and outside of
	 if(APPLE)

so I wonder, why is it working for QT6?

Maybe the attached is what you want?

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230320/569ba03d/attachment.bin>
-------------- 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/20230320/569ba03d/attachment.asc>


More information about the lyx-devel mailing list