Re: [Development] How to make a fancy QMap c++17 initializer_list

2017-07-25 Thread Ville Voutilainen
On 26 July 2017 at 01:33, Thiago Macieira wrote: > On terça-feira, 25 de julho de 2017 15:03:17 PDT Marc Mutz wrote: >> A nested brace initializer does not have a type, if the types used in >> the inner braces are distinct, so >> >> std::map m = {{k1, v1}, {k2,

Re: [Development] [BB++] Now is 3.5x faster than Node.JS

2017-07-25 Thread Phil Bouchard
I just tried on my old Android (version 4.1.2) and the animation of the ListView is indeed pretty bad. There is no need to try it on a recent one since you already did. On 07/25/2017 03:39 PM, Phil Bouchard wrote: I'll try my example on the Android as well tonight. But it sounds like we have

Re: [Development] QWebEngineView Print

2017-07-25 Thread Kevin Kofler
Just a correction: I wrote: > In 5.7, you can only print by first printing to PDF and then invoking > something external to actually send the PDF to a printer. See the code > (submitted by me) in QupZilla 2.1.x (and currently also in master/2.2, but > since that requires Qt 5.8, it may be ported

Re: [Development] How to make a fancy QMap c++17 initializer_list

2017-07-25 Thread Thiago Macieira
On terça-feira, 25 de julho de 2017 15:03:17 PDT Marc Mutz wrote: > A nested brace initializer does not have a type, if the types used in > the inner braces are distinct, so > > std::map m = {{k1, v1}, {k2, v2}}; > > will not work, even if the compiler implements the DR that you find >

Re: [Development] How to make a fancy QMap c++17 initializer_list

2017-07-25 Thread Marc Mutz
On 2017-07-25 10:10, Grégoire Barbier wrote: Le 24/07/2017 à 21:44, Henry Skoglund a écrit : On 2017-07-24 21:32, Grégoire Barbier wrote: Le 24/07/2017 à 18:45, Henry Skoglund a écrit : QMap m1 = {std::pair{2,"score"}, {4,"seven"}, {1,"Four"}, {5,"years"}, {3,"and"}, {6,"ago"}}; Or

Re: [Development] [BB++] Now is 3.5x faster than Node.JS

2017-07-25 Thread Phil Bouchard
I'll try my example on the Android as well tonight. But it sounds like we have the same issue. Bernhard B wrote: > I am just a user of Qt, so please take the following please with a grain of > salt: > > I haven't started debugging my application yet, but for some reason my

Re: [Development] [BB++] Now is 3.5x faster than Node.JS

2017-07-25 Thread Bernhard B
I am just a user of Qt, so please take the following please with a grain of salt: I haven't started debugging my application yet, but for some reason my application laggs on Android, but works fine on iOs. It's a listview with a pretty complex delegate. On Android you can see clearly that it

Re: [Development] QtWebKit is coming back (part 2)

2017-07-25 Thread Konstantin Tokarev
24.07.2017, 08:33, "Martin Koller" : > On Sonntag, 23. Juli 2017 23:45:30 CEST Konstantin Tokarev wrote: >>  23.07.2017, 23:49, "Martin Koller" : >>  > On Mittwoch, 3. Mai 2017 17:03:50 CEST Konstantin Tokarev wrote: >>  > >>  >> I'm not sure it would be acceptable,

Re: [Development] [BB++] Now is 3.5x faster than Node.JS

2017-07-25 Thread Phil Bouchard
On 07/25/2017 02:50 AM, Tomasz Siekierda wrote: On 25 July 2017 at 03:09, Phil Bouchard wrote: That's why you have to put chances on your side. Regarding the GC all you have to do is look at the logs:

Re: [Development] How to make a fancy QMap c++17 initializer_list

2017-07-25 Thread Grégoire Barbier
Le 24/07/2017 à 21:44, Henry Skoglund a écrit : On 2017-07-24 21:32, Grégoire Barbier wrote: Le 24/07/2017 à 18:45, Henry Skoglund a écrit : QMap m1 = {std::pair{2,"score"}, {4,"seven"}, {1,"Four"}, {5,"years"}, {3,"and"}, {6,"ago"}}; Or even this: QMap m1 { {2,

Re: [Development] [BB++] Now is 3.5x faster than Node.JS

2017-07-25 Thread Tomasz Siekierda
On 25 July 2017 at 03:09, Phil Bouchard wrote: > That's why you have to put chances on your side. Regarding the GC all you > have to do is look at the logs: > http://www.war-worlds.com/blog/2012/06/on-android-garbage-collection-can-kill-you What killed the performance in