[Interest] OS X 10.11 'El Capitan' and Qt 5.5.0 - first experience

Till Oliver Knoll till.oliver.knoll at gmail.com
Tue Oct 6 08:26:22 CEST 2015


>> Am 03.10.2015 um 19:24 schrieb Thiago Macieira <thiago.macieira at intel.com>:
>> 
>> On Saturday 03 October 2015 16:42:42 Till Oliver Knoll wrote:
>> And as a bonus: the 1000s of bogus (?) warnings which I saw with Qt
>> 5.5.0 initially (on OS X 10.10 for sure - not sure anymore about OS X
>> 10.9) are now gone, too (I heard those Warnings will be fixed with the
>> upcoming Qt 5.5.1, but they seem to be gone with Xcode 7 as well). Can't
>> remember anymore what those Warnings were all about, but they originated
>> from some Qt header, IIRC. You know what I'm talking about when you've
>> experienced those Warnings
> 
> The warnings are fixed in 5.5.1. They were correct.

I compiled a few randomly selected Qt examples ("Main Window", "Menus", ...), and I definitively did not get that warning again.

(Just in case some custom compiler flags which I set in my actual little project were now interpreted differently by Xcode 7).

In all cases I saw the -Wall flag during compilation.

> 
> If Apple disabled the warning in the Xcode 7.0.1 update, it was wrong of them.

The warning I was talking about was indeed
 http://qihome.org/qiliang/2015/07/04/qt-5-5-0-on-os-x-fix-for-winconsistent-missing-override-warning/

But quickly browsing through the corresponding description and bug report that warning was more about a "proper compiler detection" issue and a "wrong warning group" which was the follow-up error (warning):

 unknown warning group '-Winconsistent-missing-override', ignored [-Wunknown-pragmas]
Q_OBJECT

And now it starts to make sense for me: the Qt headers enabled some warning feature which wasn't present on Xcode 6.4 and below - due to a wrong version checking (which is/will be fixed in Qt 5.5.1). That feature is now supported since Xcode 7, hence that "unknown warning group" warning disappears (also supported by the fact that Xcode complained in 3 places in my own code about a missing "override" declaration).

Apple simply added the detection for missing "override" declarations in Xcode 7 - they didn't do anything wrong ;)

Cheers,
 Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151006/d097be28/attachment.html>


More information about the Interest mailing list