Re: [Interest] Warning about QHash keys().toVector()

2021-06-14 Thread Kevin André
On Sun, Jun 13, 2021 at 10:35 PM André Pönitz wrote: > > On Sun, Jun 13, 2021 at 06:20:31PM +0200, Kevin André wrote: > > > > I have the following piece of code: > > > > QVector CompatibilityInterfaceImpl::getActionIds() const > > { > > return _actions.keys().toVector(); // _acti

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 2:07 PM > From: "Jason H" > To: "Jason H" > Cc: "Scott Bloom" , "Thiago Macieira" > , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google forms > > > > > Sent: Monday, June 14, 2021 at 1:42 PM > > From: "Jason H" >

Re: [Interest] Warning about QHash keys().toVector()

2021-06-14 Thread Kevin André
On Sun, Jun 13, 2021 at 8:29 PM Konstantin Shegunov wrote: > > On Sun, Jun 13, 2021 at 7:22 PM Kevin André wrote: >> >> How can I avoid the warning in this case? > > return QVector<..>(_actions.keyBegin(), _actions.keyEnd()); > > Should work, I believe. This would have been my preferred solution

Re: [Interest] Warning about QHash keys().toVector()

2021-06-14 Thread Kevin André
On Sun, Jun 13, 2021 at 7:14 PM Thiago Macieira wrote: > > On Sunday, 13 June 2021 09:20:31 PDT Kevin André wrote: > > I have the following piece of code: > > > > QVector CompatibilityInterfaceImpl::getActionIds() const > > { > > return _actions.keys().toVector(); // _actions is

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 1:42 PM > From: "Jason H" > To: "Scott Bloom" > Cc: "Thiago Macieira" , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google forms > > > > > Sent: Monday, June 14, 2021 at 1:12 PM > > From: "Scott Bloom" > > To: "Thia

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 1:12 PM > From: "Scott Bloom" > To: "Thiago Macieira" , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google forms > > This has come up a couple times for me through the years (essentially make a > network request and do

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Scott Bloom
This has come up a couple times for me through the years (essentially make a network request and don’t return until the request has finished). Is there an example anywhere of the "Thiago" (proper.. 😊 ) way to code this? I see this issue in a similar vane to using QThread, when the Trolls/Nokia/

Re: [Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Kai Köhne
Hi Alexander, Having a way to reproduce is often required to fix a bug, indeed. But sometimes we also just need additional information 😊 Like the Debugger Log, which you can get in the View > Views menu (see e.g. https://doc.qt.io/qtcreator/creator-troubleshooting-debugging.html#debugger-does-

Re: [Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Thiago Macieira
On Monday, 14 June 2021 03:39:46 PDT Alexander Dyagilev wrote: > 1. Code model is buggy. Often Ctrl+Shift+U (Find references to symbol > under cursor) is not working. F2 (follow symbol under cursor) is not > working too. It is. There are two code scanners at play: one for finding symbols quickly,

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Thiago Macieira
On Sunday, 13 June 2021 12:23:58 PDT Max Paperno wrote: > Huh? In the source code somewhere it says "don't use processEvents()?" > Seems maybe that belongs in the docs... I understand what it means > to read the source to see how something works, but I'm not sure how that > applies here. I said

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 10:36 AM > From: "Jason H" > To: "Max Paperno" > Cc: interest@qt-project.org > Subject: Re: [Interest] QNetwork classes for submitting google forms > > You might want to look at my pos on Jun 2 "Re: [Interest] QNetworkReply > lambdas?" > > Where I give example

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
You might want to look at my pos on Jun 2 "Re: [Interest] QNetworkReply lambdas?" Where I give example code on how to set up a lambda. You can ignore the synchronous parts. > Sent: Friday, June 11, 2021 at 8:29 PM > From: "Max Paperno" > To: interest@qt-project.org > Subject: Re: [Interest] QN

Re: [Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Alexander Dyagilev
On 6/14/2021 2:25 PM, Rui Oliveira wrote: What about raising issues in Qt Bugs (https://bugreports.qt.io) with proper bug information, steps to reproduce, etc, instead of a few-worded rant on a mailing list? The main problem is that minimal reproducible example is often (always) requested.

Re: [Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Rui Oliveira
What about raising issues in Qt Bugs (https://bugreports.qt.io) with proper bug information, steps to reproduce, etc, instead of a few-worded rant on a mailing list? Speaking of, I want to commend the Qt Team members that fixed the bug QTCREATORBUG-25847 for me in record time and with nice wor

Re: [Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Alexander Dyagilev
Sorry, forgot to mention: this happens under Windows OS, Windows Desktop MSVC2017 kit (but it uses MSVC2019 because I do not have 2017 installed). On 6/14/2021 1:39 PM, Alexander Dyagilev wrote: Local variables can "disappear". See example: https://youtu.be/fImxXpf0Zz8. _

[Interest] Qt Creator becomes too buggy. Please do something :)

2021-06-14 Thread Alexander Dyagilev
Hello, 1. Code model is buggy. Often Ctrl+Shift+U (Find references to symbol under cursor) is not working. F2 (follow symbol under cursor) is not working too. 2. Debugger can be buggy too. Android F10 (step over) often does not work properly: it skips lot of code, not just a line it was pres