Re: [Interest] QVector / std::vector and memory alignment

2016-12-28 Thread Philippe
Good to know. It would be nice to have this mentionned in the official documentation. Sometimes there are discussions about what is best QVector vs std::vector, and here we have a good "plus" for QVector. Philippe On Thu, 29 Dec 2016 01:26:33 -0200 Thiago Macieira wrote: > Em quarta-feira, 28

[Interest] [SOLVED] Re: Android androidBuildToolsVersion

2016-12-28 Thread mark diener
I was wrong, add the value to build.gradle under the android section. That is all. md On Wed, Dec 28, 2016 at 9:48 PM, mark diener wrote: > Does anybody know how to set the androidBuildToolsVersion. > within the Qt project and not have to manually edit the dynamically generated > gradle.propert

[Interest] [SOLVED] Re: Android androidBuildToolsVersion

2016-12-28 Thread mark diener
Add the value: buildToolsVersion=25.0.2 to the gradle-wrapper.properties file On Wed, Dec 28, 2016 at 9:48 PM, mark diener wrote: > Does anybody know how to set the androidBuildToolsVersion. > within the Qt project and not have to manually edit the dynamically generated > gradle.properties fi

[Interest] Android androidBuildToolsVersion

2016-12-28 Thread mark diener
Does anybody know how to set the androidBuildToolsVersion. within the Qt project and not have to manually edit the dynamically generated gradle.properties file in the buld directory. There is the build.gradle file that references the androidBuildToolsVersion with a note that is cryptic about chang

Re: [Interest] QVector / std::vector and memory alignment

2016-12-28 Thread Thiago Macieira
Em quarta-feira, 28 de dezembro de 2016, às 17:34:37 BRST, Philippe escreveu: > Given an aligned type such as: > > struct alignas(2048) foo > { > char t[55]; > }; > > I was pleasantly surprised that QVector provides aligned data (see my > example further, using Qt 5.8 RC) I could not see this

Re: [Interest] Doing a leanest-possible QtWebEngine build

2016-12-28 Thread Thiago Macieira
Em quarta-feira, 28 de dezembro de 2016, às 20:02:35 BRST, René J.V. Bertin escreveu: > Hi, > > In my experience qmake applies the compiler flags that were selected when > QtBase was built. In my case that means they include "-O3 -g". That's fine > for most projects, but not QtWebEngine, where th

Re: [Interest] QFileIconProvider - icon resolutions only 16x16 and 32x32 on Windows

2016-12-28 Thread mail
Hi, Am 27.12.2016 um 16:25 schrieb m...@herrdiel.de: I want to access file icons of the OS, I need them in "good quality", but the available sizes are apparently only available in 16x16 and 32x32 px. [...] I would have expected higher icon resolutions (64x64 and more) to be present. Is t

[Interest] Doing a leanest-possible QtWebEngine build

2016-12-28 Thread René J . V . Bertin
Hi, In my experience qmake applies the compiler flags that were selected when QtBase was built. In my case that means they include "-O3 -g". That's fine for most projects, but not QtWebEngine, where they stress the build host to the limit, and can even lead to memory exhaustion during the final

[Interest] QVector / std::vector and memory alignment

2016-12-28 Thread Philippe
Given an aligned type such as: struct alignas(2048) foo { char t[55]; }; I was pleasantly surprised that QVector provides aligned data (see my example further, using Qt 5.8 RC) I could not see this officially mentionned in the Qt documentation. Yet, this is obviously very useful. Hence, is

Re: [Interest] QProgressDialog when setValue(0) is called

2016-12-28 Thread igor.mironchik
Have you tried to set this connection: QObject::connect(transientAnimation, SIGNAL(progress(int)), &progress, SLOT(setValue(int))); as queued directly? Best regards, Igor Mironchik. From: Berkay Elbir Sent: 28 декабря 2016 г. 16:19 To: interest@qt-project.org Interest; developm...@qt-project.or

Re: [Interest] QOpenGLContext::currentContext() returning nullptr (in some cases)

2016-12-28 Thread Andy
(Ping) Does anybody have any insight into QOpenGLContext::currentContext() and why it might return nullptr on some machines? (Aside: Is there something about the way I ask questions that make them confusing and/or difficult to answer? Too long? Not enough info? I find my "response received" rate i

[Interest] QProgressDialog when setValue(0) is called

2016-12-28 Thread Berkay Elbir
Hello All, I have a class that is inherited from QProgressDialog. It sometimes crashes and its inside QProgressDialog class code. I detected that when the setValue(0); is called in its constructor, crash happens. When I commented out this function, It does not crash. Even if setValue(0) is called

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-28 Thread Petar Koretić
On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: > > > On 28 December 2016 at 05:50, Petar Koretić > wrote: > >> Hi all! >> >> In the wild people are doing all kinds of different things with Qt on the >> network side. And there are some obvious issues with that given the >> "callback" nature of Q

Re: [Interest] Generic Table's row to 2 columns property/value tree

2016-12-28 Thread André Somers
Hi, Op 28/12/2016 om 00:24 schreef Ch'Gans: Hi there, In my application i'm dealing a lot with displaying a list of property value based on user's selection, the selection can be made either from a table view (a row) or a graphicsview item (both selections are synchronised). My application is