Error when compiling with Qt6 on macOS

Kornel Benko kornel at lyx.org
Thu Mar 25 12:40:55 UTC 2021


Am Thu, 25 Mar 2021 12:38:22 +0100
schrieb Christoph Schmitz <chr.schmitz at web.de>:

> Yes, I tried a clean build several times. And I tried it now again:
> 
> - I deleted the local repository.
> - I cloned the repository.
> - I removed Qt5 (brew remove Qt5 && brew cleanup).
> 
> Attached is the complete build log.
> 
> Unfortunately I have no idea what to do with cmake. I started the cmake GUI and clicked
> on "Configure". There are a few surprising parameters (see attached screenshot):
> 
> LYX_USE_QT=QT4
> QT_MKSPECS_DIR=**Unknown**
> Qt5Core_DIR is present while Qt6Core_DIR is present as well.
> 
> Chris
> 

Try calling cmake with '-DLYX_USE_QT=QT6'
(or, in the GUI, select LYX_USE_QT to QT6)

Configure should fail if QT6 is not complete.

	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/20210325/ff155d41/attachment.asc>


More information about the lyx-devel mailing list