Dive download crash - Qt model issues

2017-06-24 Thread Linus Torvalds
So because I'm testing my BLE code (yes, I have working downloads on the Suunto EON Steel over BLE - no, it's not ready to be merged yet, and other dive computers won't automatically work), I've been doing odd things when downloading. And I hit an issue that seems to be about the Qt models, not th

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:16 AM, Linus Torvalds > wrote: > > So because I'm testing my BLE code (yes, I have working downloads on > the Suunto EON Steel over BLE - no, it's not ready to be merged yet, > and other dive computers won't automatically work), I've been doing > odd things when downloa

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
On sábado, 24 de junho de 2017 10:16:06 PDT Linus Torvalds wrote: > Now, it may be that (once more) this is because I run my self-compiled > Qt, and apparently it ends up adding more sanity checks and asserts > when built in developer mode. Going off on a tangent here, but... Qt has release mode,

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:54 AM, Thiago Macieira wrote: > > On sábado, 24 de junho de 2017 10:16:06 PDT Linus Torvalds wrote: >> Now, it may be that (once more) this is because I run my self-compiled >> Qt, and apparently it ends up adding more sanity checks and asserts >> when built in developer

Re: Dive download crash - Qt model issues

2017-06-24 Thread Stefan Fuchs
Hi All, Am 24.06.2017 um 19:24 schrieb Dirk Hohndel: > > This is one of the ASSERTs in Qt that are compiled out in production code, > so I'm pretty sure those with my binaries or who are compiling from source > using standard Qt libraries won't see it. > >> Now, it may be that (once more) this is

Re: Dive download crash - Qt model issues

2017-06-24 Thread Linus Torvalds
On Sat, Jun 24, 2017 at 10:54 AM, Thiago Macieira wrote: > > Qt has release mode, debug mode and the "-developer-mode" switch. Be careful > not to confuse the latter two: developer mode is debug mode but enables a few > extra things so Qt's own unit tests can run, like exporting some functions so

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
On sábado, 24 de junho de 2017 11:05:25 PDT you wrote: > The solution to that problem is "--developer-build". That actually > does exactly the right thing from a "build one single app against the > special Qt tree that has a couple of experimental patches" > perspective. You can just do -prefix $