Dive download crash - Qt model issues
Thiago Macieira
thiago at macieira.org
Sat Jun 24 10:54:41 PDT 2017
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.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
More information about the subsurface
mailing list