[Qt-creator] Latest 3.6.0-rc1 & Debugging on OS X

Ziller Eike Eike.Ziller at theqtcompany.com
Mon Dec 14 10:07:20 CET 2015


> On Dec 11, 2015, at 5:22 PM, Mike Jackson <imikejackson at gmail.com> wrote:
> 
> 
>> On Dec 11, 2015, at 1:42 AM, Ziller Eike <Eike.Ziller at theqtcompany.com> wrote:
>> 
>>> 
>>> On Dec 10, 2015, at 19:15, Mike Jackson <imikejackson at gmail.com> wrote:
>>> 
>>> I should have noted that I am running OS X 10.10.5 and Xcode 6.4. I have no idea if I can move up to Xcode 7.x and still use Qt 5.5?
>> 
>> As far as I know there are no issues with that. I’m using Qt 5.5 on El Capitan on my Notebook as well.
> 
> I may try Xcode 7.2 over the weekend on a test machine. Xcode 7 tolerates CMake projects better than the 6.x series did.
> 
>> 
>>> We have to self compile due to our requirement for C++11 support.
>> 
>> Why do you need to compile Qt yourself for that? We use C++11 in Qt Creator and use the default Qt package build for that (and CONFIG+=c++11 in our .pro files).
>> 
>> Br, Eike
> 
> The default Qt packages turn OFF C++11 support which means that the Qt Frameworks are linking against libstdc++ which is the older NON-C++11 compliant package.

Default Qt binaries link against libc++ since Qt 5.4 (which removed support for OS X 10.6).

Br, Eike

> This has been causing issues with our projects where some of our 3rd party libraries link against libc++ with C++11 compliance turned on. We get spurious crashes and runtime issues unless we get all our our 3rd party libraries to specifically link against libc++. Since the default Qt packages have a minimum OS X runtime of 10.7 they will link against libstdc++. We crank up the minimum to 10.9 and config with C++11 support. This (and other config options to other 3rd party libs) have fixed our issues.
> 
> There were other benefits to moving to C++11 (like moving from boost::shared_ptr to std::shared_ptr) which allowed QtCreators code models (both Clang and the internal one) to offer completions MUCH faster than before and more completely.
> 
>> Mike Jackson
> 
>> 
>>> 
>>> Also note that my tests are quick and dirty. Just quick “does it launch quickly when compared to Xcode”.
>>> 
>>> Thanks
>>> Mike Jackson
>>> 
>>>> On Dec 10, 2015, at 11:33 AM, rpzrpzrpz at gmail.com wrote:
>>>> 
>>>> Thanks mike for doing this "guinea pig" work.
>>>> 
>>>> I spend all of my time on OSX and Qt, so not losing developer tool effectiveness
>>>> on this OSX platform is really important for 5.6. (even though I can tied up on 5.5.1 right now and cannot donate cycles.)
>>>> 
>>>> I am running El Capitan, so that may be a sticking point in late January for 6.5RC.
>>>> 
>>>> md
>>>> 
>>>> On 12/10/2015 10:28 AM, Mike Jackson wrote:
>>>>> 
>>>>>> On Dec 10, 2015, at 4:54 AM, Ziller Eike <Eike.Ziller at theqtcompany.com> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Dec 2, 2015, at 8:34 PM, Mike Jackson <imikejackson at gmail.com> wrote:
>>>>>>> 
>>>>>>> Hello, 
>>>>>>> The issue seems to be resolved. I can debug again. BUT the start up time when launching my application is very long. It seems to be taking about 1 minute to launch to my gui.
>>>>>> 
>>>>>> Could you please take a look at the debugger log, what it does during that long time?
>>>>>> 
>>>>>> Br, Eike
>>>>> 
>>>>> The Dec 10 nightly build of 5.6.0 seems to have fixed these issues. The debugger startup is back to normal. The initial gathering of variables on first break is still a bit slower when compared to things like Xcode but is very usable.
>>>>> 
>>>>> Thanks
>>>>> Mike Jackson
>>>>> 
>>>>> 
>>>>> 
>>>>>> 
>>>>>>> That was with NO breakpoints active. If this last piece is being worked on then I think the 3.6 release is shaping up very nicely to make a comeback on OS X. I have switched back to the QtCreator code model and the completion speed and quality is very close to the likes of Visual Studio and Xcode. Keep up the great work.
>>>>>>> 
>>>>>>> Mike Jackson
>>>>>>> 
>>>>>>>> On Dec 1, 2015, at 4:38 AM, Stenger Christian <Christian.Stenger at theqtcompany.com> wrote:
>>>>>>>> 
>>>>>>>> Hi Mike,
>>>>>>>> 
>>>>>>>> can you please re-check with the newest snapshot? The issue you've mentioned should have been fixed yesterday afternoon, but I assume the package of Nov 30th did not include this fix.
>>>>>>>> 
>>>>>>>> Kind regards,
>>>>>>>> Christian
>>>>>>>> 
>>>>>>>> 
>>>>>>>> ________________________________________
>>>>>>>> From: Qt-creator <qt-creator-bounces at qt-project.org> on behalf of Mike Jackson <imikejackson at gmail.com>
>>>>>>>> Sent: Monday, November 30, 2015 7:08 PM
>>>>>>>> To: qt-creator
>>>>>>>> Subject: [Qt-creator] Latest 3.6.0-rc1 & Debugging on OS X
>>>>>>>> 
>>>>>>>> The latest RC’s for the 3.6.0 release are really starting to look nice but just wanted to report here a few issues with the debugging on OS X to see if anyone else was seeing the issues?
>>>>>>>> 
>>>>>>>> Basically with the latest nightly from NOV 30 2015 the debugger errors out and does not start up. One of the nightlies from mid-last week would start up but would just spin LLDB at 100% indefinitely and never seem to come back with the locals and stack when attempting to stop at a break point.
>>>>>>>> 
>>>>>>>> This is with OS X 10.10 (Yosemite) and Xcode 6.4.
>>>>>>>> 
>>>>>>>> Thanks
>>>>>>>> Mike Jackson
>>>>>>>> _______________________________________________
>>>>>>>> Qt-creator mailing list
>>>>>>>> Qt-creator at qt-project.org
>>>>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Qt-creator mailing list
>>>>>>> Qt-creator at qt-project.org
>>>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> 
>>>>> Qt-creator at qt-project.org
>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>> 
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>> 
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>> 
>> -- 
>> Eike Ziller, Senior Software Engineer | The Qt Company
>> Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator




More information about the Qt-creator mailing list