-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
Qt Creator 2.7.1
-
None
-
Ubuntu 13.10 (Saucy), amd64
QTCreator crashes on trying to autcompletion.
(Launchpad Bugreport: https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1220148 )
I'm using the Version provided via Ubuntu-Saucy repositorys.
Steps to reproduce:
1. Create a (Non-QT-) C++ Project (Give it a name and just click "Next" over and over)
2. Activate std=gnu++0x by pasting:
"QMAKE_CXXFLAGS = -std=gnu+0x" somewhere in the generated "pro" file.
3. Close and reopen the Project, so QTCreator knows about the "QMAKE_CXXFLAGS" and loads those autocompletions.
4. Open the generated C++ file with the "main" function.
5. Replace it's content with the code at http://paste.ubuntu.com/6058289/
6. at line 11 ("static_cast<std::weak_ptr<T> >(test);") insert a "." before the semicolon (";")
You can find the backtrace provided by gdb at http://paste.ubuntu.com/6058300/