Dive download crash - Qt model issues

Dirk Hohndel dirk at hohndel.org
Sat Jun 24 10:58:05 PDT 2017


> On Jun 24, 2017, at 10:54 AM, Thiago Macieira <thiago at macieira.org> 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 mode.
> 
> Going off on a tangent here, but...
> 
> 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 
> they can be called from the tests. Another consequence is that it compiles 
> with -Werror and compiles each header individually, so the build time 
> increases and you're more likely to get build failures.
> 
> Unless you're developing Qt itself like me, you don't want that option. Debug 
> mode is fine for debugging into Qt itself and enables Q_ASSERT.

Linus is working with Alex on fixing the broken BLE support in Qt. So in that
sense, I'm pretty sure he is "developing Qt itself".

/D


More information about the subsurface mailing list