[LyX/master] Allow compiling with Qt6

Kornel Benko kornel at lyx.org
Tue Mar 16 15:36:15 UTC 2021


Am Tue, 16 Mar 2021 16:32:49 +0100
schrieb Yu Jin <yu_jin at lyx.org>:

> Just seen this one and wanted to try it out obviously :)
> But it doesn't work for me on Windows. Using CMake GUI I notice that the
> dropdown menu LYX_USE_QT does not contain QT6, just QT5, QT4 and AUTO as
> before. When I choose AUTO it fails with:
> 
> CMake Error at development/cmake/modules/FindQt4.cmake:568 (message):
>   Could NOT find QtCore.  Check
>   C:/lyx/masterbuild64Qt6/CMakeFiles/CMakeError.log for more details.
> Call Stack (most recent call first):
>   CMakeLists.txt:804 (find_package)
> 
> It does find some QT6 stuff correctly though, like QT_PLUGINS_DIR, but not
> everything, like QtCore.

I have a patch ready, but cannot test.

	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/20210316/5965245b/attachment.asc>


More information about the lyx-devel mailing list