Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread Christian Gagneraud
On Wed, 4 Dec 2019 at 16:06, Thiago Macieira wrote: > > On Tuesday, 3 December 2019 17:36:37 PST Christian Gagneraud wrote: > > My point is that this sort of bugs are really hard to detect during > > code review. This is subtle & nasty 'feature' of QStringBuilder (a > > choice in its

Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread Christian Gagneraud
On Wed, 4 Dec 2019 at 19:28, Giuseppe D'Angelo via Interest wrote: > > Il 04/12/19 02:36, Christian Gagneraud ha scritto: > > BTW, Clazy has a check for that very specific case, which just show > > how dangerous is this QStringBuilder. > >

Re: [Interest] QSpinbox repeat delay

2019-12-04 Thread Murphy, Sean
> As with any similar widget platform-specific behavior, specifically by the > SH_SpinBox_ClickAutoRepeatThreshold style hint. Use > spinbox->style()->styleHint to fetch the value; use a custom style or a > proxy style to change it. Thanks for teaching me something new! I had no idea things like

[Interest] remote debuggin

2019-12-04 Thread Duane
Qt Creator 4.5.0 and Qt 5.10.0. Tiny core Linux 8.2. gdb 7.8.1 I'm deploying an application to a remote linux target for debugging. I can launch and run the application but when I stop at a breakpoint after 25 seconds or so the application crashes with the message: linux-low.c:949: A

Re: [Interest] windeployqt

2019-12-04 Thread Jason H
> Sent: Wednesday, November 27, 2019 at 2:16 PM > From: "Roman Wüger" > To: "Jason H" > Cc: "interestqt-project.org" > Subject: Re: [Interest] windeployqt > > Hello, > > try running windeployqt with the -qml or -qmldir option. Works for me. > > You must pass the qml directory to the Option

Re: [Interest] windeployqt

2019-12-04 Thread ekke
Am 04.12.19 um 17:46 schrieb Jason H: > >> Sent: Wednesday, November 27, 2019 at 2:16 PM >> From: "Roman Wüger" >> To: "Jason H" >> Cc: "interestqt-project.org" >> Subject: Re: [Interest] windeployqt >> >> Hello, >> >> try running windeployqt with the -qml or -qmldir option. Works for me. >> >>

Re: [Interest] windeployqt

2019-12-04 Thread Jérôme Godbout
That would be nice, but I doubt it is easy, since the deploy script need to figure out the Qml dependencies, so you need to give him the stating point to find the starting point to find .qml file. The .qrc is only a resources that package binary. It would be nice if the deploy script would scan

Re: [Interest] windeployqt

2019-12-04 Thread Jason H
https://bugreports.qt.io/browse/QTBUG-80548 > Sent: Wednesday, December 04, 2019 at 3:39 PM > From: "Jérôme Godbout" > To: "Jason H" , "Roman Wüger" > Cc: "interestqt-project.org" > Subject: RE: [Interest] windeployqt > > That would be nice, but I doubt it is easy, since the deploy script need

Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread André Pönitz
On Wed, Dec 04, 2019 at 02:36:37PM +1300, Christian Gagneraud wrote: > On Wed, 4 Dec 2019 at 13:05, Thiago Macieira > wrote: > > > IMHO, it is legit to write code like: > > > const QUrl url(urlString); > > > const auto appId = url.host() + "." + url.path().mid(1); > > > doSomeThing(appId); //

Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread Thiago Macieira
On Wednesday, 4 December 2019 14:59:41 PST Giuseppe D'Angelo via Interest wrote: > Let me elaborate: the original claim was that QStringBuilder is > dangerous. It's not (*). The danger can only happen as a misuse of it > and it's not inherent to QStringBuilder itself, just like other > countless

Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread Thiago Macieira
On Wednesday, 4 December 2019 04:56:00 PST Christian Gagneraud wrote: > > As a professional developer, one should strive for keeping a codebase > > under clazy, clang-tidy, and friends; and always be under -Werror. > > Really? (sarcasm) > There's what you wish, and there's what you're asked (or

Re: [Interest] Klocwork errors in Qt

2019-12-04 Thread Giuseppe D'Angelo via Interest
Hi, Il 04/12/19 13:56, Christian Gagneraud ha scritto: On Wed, 4 Dec 2019 at 19:28, Giuseppe D'Angelo via Interest wrote: Il 04/12/19 02:36, Christian Gagneraud ha scritto: BTW, Clazy has a check for that very specific case, which just show how dangerous is this QStringBuilder.