[Interest] My experience porting to Qt5 (on OS X)

Daniel Price daniel.price at fxhome.com
Thu Sep 13 16:41:07 CEST 2012


What are the issues with Apples version of Clang?

The biggest problem I have with Qt + clang on the mac is the dismal debugging. I can't get LLDB to work with Creator and Apple's ancient GDB is worse than useless.


-----Original Message-----
From: interest-bounces+daniel.price=fxhome.com at qt-project.org [mailto:interest-bounces+daniel.price=fxhome.com at qt-project.org] On Behalf Of Stephen Chu
Sent: 13 September 2012 13:37
To: Till Oliver Knoll
Cc: Qt Project
Subject: Re: [Interest] My experience porting to Qt5 (on OS X)

Well. This thread is getting a bit OT. Let me bring it back a little. :)

My experience with Qt 5 with Mac is generally good. The only major issues for me right now is the window title focus bug and detached dock widget can't be reattached. I have to changed the app behavior to work around the later but can't do anything about the former.

https://bugreports.qt-project.org/browse/QTBUG-27198
https://bugreports.qt-project.org/browse/QTBUG-25552

The only issue in writing the code is Creator doesn't recognize that I am using libc++ and still looks for header in GCC locations. But that's not Qt 5 itself.

BTW. If anyone wants to use C++11 features with Qt 5 Mac, I strongly recommend installing Clang 3.1 via MacPorts. It doesn't have any of the odd restriction as Apple's (can't use libc++ with 10.6). It's more inline with official clang version/features. And it still support most if not all Apple-ism.
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

This email is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. Errors and Omissions Excluded. If you are not the intended recipient please notify the sender. Please delete the message from all places in your computer where it is stored. You should not copy the email or use it for any purpose or disclose its contents to any other person. To do so may be unlawful. Email is an informal means of communicating and may be subject to data corruption accidentally or deliberately. For this reason it is inappropriate to rely on advice contained in an email without obtaining written confirmation of it first.

FXhome Limited is a limited company registered in England and Wales. Registered number: 04172812. Registered office: Suite 4 St Giles House, 27 St Giles Street, Norwich, Norfolk, NR2 1JN, U.K.



More information about the Interest mailing list