Re: [Development] Qt quick compiler impact on qmlbench.

2021-03-03 Thread Ulf Hermann
Hi Valery, 1. I tried to add CONFIG += qtquickcompiler option to src/src.pro (qmlbench app) file After that all QML & JS files which enumerated in qmlbench.qrc file was compiled to CPP code as expected. That doesn't really help all that much. The interesting code is in the "free" QML files t

Re: [Development] QFuture and C++20

2021-03-03 Thread Jason H
> Sent: Wednesday, March 03, 2021 at 12:44 PM > From: "Giuseppe D'Angelo via Development" > > Il 03/03/21 17:12, Allan Sandfeld Jensen ha scritto: > > They are only halfway there in C++20, AFAIK it is missing the standard > > library > > parts, which means it is not really usable for most peopl

Re: [Development] User-defined literals for QString (and QByteArray)

2021-03-03 Thread Thiago Macieira
On Wednesday, 3 March 2021 07:53:25 PST Andrei Golubev wrote: > This is the proposal in a nutshell. I'd like to have some feedback and then > some suggestions regarding: > > * Whether we want this for QByteArray as well (similarly to QString it > allows "from raw data" construction, but then i

Re: [Development] User-defined literals for QString (and QByteArray)

2021-03-03 Thread Thiago Macieira
On Wednesday, 3 March 2021 08:57:03 PST Giuseppe D'Angelo via Development wrote: > > There's of course QStringLiteral: > > QString hello = QStringLiteral("Hello"); // yay, it works > > ... and, actually, QStringLiteral in Qt 6 is great, because it doesn't > > allocate the memory* to store that lit

Re: [Development] QFuture and C++20

2021-03-03 Thread Giuseppe D'Angelo via Development
Il 03/03/21 17:12, Allan Sandfeld Jensen ha scritto: They are only halfway there in C++20, AFAIK it is missing the standard library parts, which means it is not really usable for most people until C++23, so I assume we have time before anyone will actually have interaction between the two types o

Re: [Development] User-defined literals for QString (and QByteArray)

2021-03-03 Thread Giuseppe D'Angelo via Development
Howdy, Il 03/03/21 16:53, Andrei Golubev ha scritto: Hello, I've been now working for a while with literals that have to (eventually) be converted to QString one way or another. While in certain cases (e.g. myMsg == u"This is my message" or u"Hello, " + world) character literals are handled

Re: [Development] QFuture and C++20

2021-03-03 Thread Konstantin Tokarev
03.03.2021, 19:15, "Allan Sandfeld Jensen" : > On Mittwoch, 3. März 2021 09:32:33 CET Jason H wrote: >>  I saw Lars's Qt6 talk on youtube, where he said Qt6 requires C++17. He also >>  mentioned the new QFuture:: then() function... This is an improvement, but >>  it makes Qt code look like Javasc

Re: [Development] QFuture and C++20

2021-03-03 Thread Allan Sandfeld Jensen
On Mittwoch, 3. März 2021 09:32:33 CET Jason H wrote: > I saw Lars's Qt6 talk on youtube, where he said Qt6 requires C++17. He also > mentioned the new QFuture:: then() function... This is an improvement, but > it makes Qt code look like Javascript in 2015. > > In C++20 there are async/await mecha

[Development] User-defined literals for QString (and QByteArray)

2021-03-03 Thread Andrei Golubev
Hello, I've been now working for a while with literals that have to (eventually) be converted to QString one way or another. While in certain cases (e.g. myMsg == u"This is my message" or u"Hello, " + world) character literals are handled neatly by some underlying machinery, pure assignments ju

[Development] Qt 6.0.2 released

2021-03-03 Thread Jani Heikkinen
Hi Everyone, We have released Qt 6.0.2 today, see https://www.qt.io/blog/qt-6.0.2-released Big thanks to everyone involved! br, Jani Heikkinen Release Manager ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo

[Development] QFuture and C++20

2021-03-03 Thread Jason H
I saw Lars's Qt6 talk on youtube, where he said Qt6 requires C++17. He also mentioned the new QFuture:: then() function... This is an improvement, but it makes Qt code look like Javascript in 2015. In C++20 there are async/await mechanisms. Ideally ask that then() code word be replacing by 'awa