Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Hamish Moffatt via Interest
On 28/2/23 12:00, Hamish Moffatt via Interest wrote: Qt5's documentation (like Qt6's) does say "QVector's value type must be an assignable data type", so the mystery here is perhaps why our code works with Qt5. Even in Qt6, it compiles with other things in the struct that aren't assignable

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Hamish Moffatt via Interest
On 28/2/23 11:49, Thiago Macieira wrote: On Monday, 27 February 2023 16:22:46 PST Hamish Moffatt via Interest wrote: How and when would Qt5 show an error? We have the above code working and in production, and I'm able resize, copy and change, force a detach - operations where QVector would need

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Thiago Macieira
On Monday, 27 February 2023 16:22:46 PST Hamish Moffatt via Interest wrote: > How and when would Qt5 show an error? We have the above code working and > in production, and I'm able resize, copy and change, force a detach - > operations where QVector would need to copy elements. Ah, looks like it i

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Hamish Moffatt via Interest
On 28/2/23 11:14, Thiago Macieira wrote: On Monday, 27 February 2023 13:05:01 PST Hamish Moffatt via Interest wrote: On 28/2/23 04:14, Thiago Macieira wrote: On Sunday, 26 February 2023 23:24:43 PST Hamish Moffatt via Interest wrote: Is there a solution? Remove the const in: struct S

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Thiago Macieira
On Monday, 27 February 2023 13:05:01 PST Hamish Moffatt via Interest wrote: > On 28/2/23 04:14, Thiago Macieira wrote: > > On Sunday, 26 February 2023 23:24:43 PST Hamish Moffatt via Interest wrote: > >> Is there a solution? > > > > Remove the const in: > > struct S > > { > > >

[Interest] Care to help us out with the Jellyfin Qt 6 port?

2023-02-27 Thread Austin via Interest
Hey everybody. The lead developer of Jellyfin Media Player and I are trying to port JMP to Qt 6, but we could really use your help. The rendering loop that worked in Qt 5 has very strange behavior now, and implementing the new api docs to the best of our ability has not gotten us there. If you w

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Hamish Moffatt via Interest
On 28/2/23 04:14, Thiago Macieira wrote: On Sunday, 26 February 2023 23:24:43 PST Hamish Moffatt via Interest wrote: Is there a solution? Remove the const in: struct S { const QVector v; // compiles if not const }; If S is not copyable, then QVector can't copy it a

Re: [Interest] use of deleted function errors in QList / qarraydataops.h

2023-02-27 Thread Thiago Macieira
On Sunday, 26 February 2023 23:24:43 PST Hamish Moffatt via Interest wrote: > Is there a solution? Remove the const in: struct S { const QVector v; // compiles if not const }; If S is not copyable, then QVector can't copy it and QVector requires copying all its elements.

Re: [Interest] QTcpServer::setProxy meaning?

2023-02-27 Thread Alexander Dyagilev
Ooops, sorry, it's a bug in my code. On 2/27/2023 12:38 PM, Alexander Dyagilev wrote: Hello, OK, thanks for the report. It seems, there is a bug? QNetworkProxyQuery q(32000, QString(), QNetworkProxyQuery::TcpServer); m_proxyFactory->queryProxy(q); returns a proxy of QNetworkProxy::HttpProxy

Re: [Interest] QTcpServer::setProxy meaning?

2023-02-27 Thread Alexander Dyagilev
Hello, OK, thanks for the report. It seems, there is a bug? QNetworkProxyQuery q(32000, QString(), QNetworkProxyQuery::TcpServer); m_proxyFactory->queryProxy(q); returns a proxy of QNetworkProxy::HttpProxy type. In docs it's stated that such a proxy supports outgoing TCP connections only (ht