Error when compiling with Qt6 on macOS

Christoph Schmitz chr.schmitz at web.de
Fri Mar 26 12:41:18 UTC 2021


Kornel, pdv, you nailed it! I was able to compile LyX with Qt6 dropping only a few depreciation warnings.

Chris





> Am 26.03.2021 um 13:15 schrieb Kornel Benko <kornel at lyx.org>:
> 
> Am Fri, 26 Mar 2021 12:00:32 +0100
> schrieb pdv <pdvisschere at edpnet.be <mailto:pdvisschere at edpnet.be>>:
> 
>>> OK, I will ignore Qt6MacExtras for Qt6. (commit 9b03680a)
>>> 
>>>> Configuring incomplete, errors occurred!
>>>> See also "/Users/chris/Git/LyX/build/CMakeFiles/CMakeOutput.log".
>>>> See also "/Users/chris/Git/LyX/build/CMakeFiles/CMakeError.log".
>>>> 
>>>> Chris
>>>> 
>>>> 
>>> 	Kornel
>>> 
>>> 
>> 
>> I also must exclude the QMacPasteboardMimeGraphics class in 
>> GuiApplication.cpp since QMacPasteboard is not available anymore with qt6.
>> 
>> and add an #include <QStandardPaths> in support/Package.cpp (I suppose 
>> this will pose no problem for qt5 but have not checked it, it's only 
>> needed with USE_MACOSX_PACKAGING)
>> 
>> (patch included)
>> 
>> P. De Visschere
> 
> OK, committed at a9b0f5fa.
> 
> 	Kornel
> 
> -- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org <mailto:lyx-devel at lists.lyx.org>
> http://lists.lyx.org/mailman/listinfo/lyx-devel <http://lists.lyx.org/mailman/listinfo/lyx-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210326/ecdf898a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.jpg
Type: image/jpeg
Size: 142044 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210326/ecdf898a/attachment-0001.jpg>


More information about the lyx-devel mailing list