On Thu Nov 16, 2023 at 08:47:20PM +0000, Klemens Nanni wrote:
> On Thu, Nov 16, 2023 at 05:11:42PM +0100, Rafael Sadowski wrote:
> > On Sun Nov 12, 2023 at 10:28:42AM +0000, Klemens Nanni wrote:
> > > On Sun, Nov 12, 2023 at 11:16:19AM +0100, Rafael Sadowski wrote:
> > > > The following patches is necessary to build tdesktop with Qt 6.6.
> > > > Otherwise we end with the following issue like FreeBSD:
> > > 
> > > This is not specific to tdesktop, but it seems to be the first (only?)
> > > port using new C++, moc, CMake and Qt >= 6.6 (your WIP update).
> > > 
> > 
> > Yes I think so. I built all the other Qt6 consumers.
> > 
> > > > 
> > > > usr/include/c++/v1/concept:318:1: error: Parse error at "::"
> > > > 
> > > > Patch form FreeBSD:
> > > > https://cgit.freebsd.org/ports/commit/?id=5244b8425c414f0bca521df362eb62bb334640b3
> > > 
> > > Thanks for tracking this down, but I don't understand (yet) what's going 
> > > on.
> > 
> > Without diving deep, which I understand, moc has issues when it comes to 
> > C++20.
> 
> So... is patching moc usage in cmake for all ports still the answer?
> Is there no way to fix it in tdesktop alone?
> 
> Just curious, I'm not objecting.
> 

To be honest I don't like the solution too. When I look at Qt, the
problem is known but there is no solution yet. IMO Qt/moc must fix it.

I was just glad that I found the FreeBSD solution and it works for us
too.

Not happy at all.

Reply via email to