[Qt-creator] Best c++11 for compiling and debugging with qt-creator on mac?

André Pönitz andre.poenitz at mathematik.tu-chemnitz.de
Tue May 28 23:37:29 CEST 2013

On Wed, May 29, 2013 at 05:50:55AM +0900, Paulo Silva wrote:
> Let me rephrase that question. On the Qt5 page it's proposed to use c++11
> lambdas with Qt5. How would you go about doing this/debugging your code with
> qt-creator?

Pretty much the same way as with any other debugger frontend, i.e. "hope
that the backend plays nicely".

For the particular case of GDB state-of-the-art should be close to

For the particular case of LLDB I haven't checked yet. Could do tomorrow.

> Or is this functionality available only in case you don't want to debug with
> qt-creator?

This has not much, or even nothing, to do with Qt Creator. Qt Creator just
asks some "real debugger" to produce data based on "debug information" some
"real compiler" put "somewhere". Depending on what the compiler actually 
produces and how the debugger interprets it this ends up between "complete
bogus" and "useful stuff". All Creator can do is to somehow visualize the
result, or in some cases to tweak the enviroment or avoid known-to-be-bad
code paths to improve the result. If the compiler says "variable x is at
address X" in the debug info whereas it put it at address Y in the binary,
there's not really much that can be done (and yes, that happened before)


More information about the Qt-creator mailing list