[LyX/master] Allow compiling with Qt6

Kornel Benko kornel at lyx.org
Tue Mar 16 18:04:06 UTC 2021


Am Tue, 16 Mar 2021 18:21:19 +0100
schrieb Yu Jin <yu_jin at lyx.org>:

> Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko <kornel at lyx.org>:
> 
> > 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.
> >
> 
> Care to share it? I can test.

Attached.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qt6Cmake.patch
Type: text/x-patch
Size: 9587 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210316/7a16a237/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/20210316/7a16a237/attachment.asc>


More information about the lyx-devel mailing list