[Qt-creator] C++: Crash on 2.7 branch

Loaden loaden at gmail.com
Sat Feb 16 04:03:27 CET 2013


okay, I find why the QMake and Qbs build system just fine.
Because the DEBUG mode is disabled by default.

You can enable the DEBUG mode for cplusplus-lib to see what happen.
e.g. change src/libs/cplusplus/cplusplus.pro

FROM:

DEFINES += NDEBUG
> #DEFINES += DEBUG_LOOKUP
> unix:QMAKE_CXXFLAGS_DEBUG += -O2
>

TO:

#DEFINES += DEBUG_LOOKUP
>

You will see there exist a assert failed.
This cannot happen with 2.6 branch.

2013/2/12 Loaden <loaden at gmail.com>

> By the way, It's only crash with C++ project (CMake), the C project just
> fine.
>
>
> 2013/2/12 Loaden <loaden at gmail.com>
>
>> I don't want to report a bug, because it can be reproduce with my CMake
>> Build System.
>> see 2.7 branch: https://github.com/loaden/qtcreator.git , build it using
>> CMake.
>> It's will crash both on Windows and Linux.
>> But it's works well with 2.6 branch for last half year.
>>
>>
>> 2013/2/11 Nikolai Kosjar <nikolai.kosjar at digia.com>
>>
>>> Hi Loaden!
>>>
>>> Please report bugs at https://bugreports.qt-project.org/. If you can
>>> reproduce this crash, provide also a code example or step by step
>>> instructions.
>>>
>>> Nikolai
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>
>>
>>
>>
>> --
>> *Please don't ask where I come from, It's a shame!*
>> Best Regards
>> Yuchen
>>
>
>
>
> --
> *Please don't ask where I come from, It's a shame!*
> Best Regards
> Yuchen
>



-- 
*Please don't ask where I come from, It's a shame!*
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130216/7231d7fd/attachment.html>


More information about the Qt-creator mailing list