> On Aug 26, 2015, at 11:09 AM, Shinnok <[email protected]> wrote:
> 
> +1 for this. With 5.5 upgrade and no code/project change in between I'm 
> seeing hundreds of warns just like that. This is latest OS X and Xcode with 
> Clang toolchain. Last Apple update was a while ago, thus something must have 
> changed in the mkspec of 5.5.

Yes. 5.5.0 introduced a pragma into the Q_OBJECT macro that is supposed to 
suppress warnings about missing ‘override’ keywords in the virtual method 
overrides that Q_OBJECT adds, if you use override within your QObject derived 
classes. (Clang started to warn about inconsistent use of the ‘override’ 
keyword in some version.)
Unfortunately that pragma is only supported in Clang 3.6 and later, and in 
qcompilerdetection was a bug that detected the wrong compilers as 3.6.
The corresponding bug report is
https://bugreports.qt.io/browse/QTBUG-46833
It is fixed in Qt 5.5.1.
I thought that the Clang version that is shipped with Xcode 6.4 was not 
affected, but that was obviously wrong. Xcode 7 is the first version that ships 
a clang that supports this pragma.

Hope that clarifies things a bit.

Br, Eike

> I can change back to 5.4 and the warns are gone.
> 
> Shinnok
> 
>> On 25 Aug 2015, at 17:17, Jason H <[email protected]> wrote:
>> 
>> I am not the OP, but I have Xc 6.4 (6E35b) and Qt 5.5.0 and am flooded with:
>> /Users/jason/Qt5.5.0/5.5/ios/include/QtCore/qobject.h:108:5: Unknown warning 
>> group '-Winconsistent-missing-override', ignored
>> 
>> That line is simply:
>> Q_OBJECT
>> 
>> And I have over 1000 such warnings.
>> 
>> 
>>> Sent: Monday, August 24, 2015 at 3:39 AM
>>> From: "Ziller Eike" <[email protected]>
>>> To: "Freddy Martinez Garcia" <[email protected]>
>>> Cc: "[email protected]" <[email protected]>
>>> Subject: Re: [Qt-creator] very bad performance for Qt Creator with Qt 5.5.0
>>> 
>>> 
>>>> On Aug 21, 2015, at 3:04 PM, Freddy Martinez Garcia 
>>>> <[email protected]> wrote:
>>>> 
>>>> how long we must wait for qt 5.5.1 ??
>>>> 
>>>> I have the last version of XCode.... :(
>>> 
>>> Are you sure?
>>> What do the warning look like exactly?
>>> 
>>> There should be no warnings about inconsistent-missing-override or 
>>> unknown-pragmas with Qt 5.5.0 and Xcode 6.4
>>> 
>>> Br, Eike
>>> 
>>>> regards
>>>> 
>>>> 
>>>> =============================================
>>>> "El tamaño de tus logros depende del tamaño de tus metas." 
>>>> C++ and Qt Senior Developer
>>>> Lic. Computer Science
>>>> Buenos Aires, Argentina
>>>> 
>>>> 
>>>> 2015-08-21 6:00 GMT-03:00 Ziller Eike <[email protected]>:
>>>> 
>>>>> On Aug 21, 2015, at 6:58 AM, Freddy Martinez <[email protected]> 
>>>>> wrote:
>>>>> 
>>>>> Hi guys...
>>>>> 
>>>>> I'm getting a lot of troubles to work with Qt Creator with the new 
>>>>> version of Qt... This kind of problems didn't happend with Qt 5.4.2
>>>>> 
>>>>> I'm making some changes to my application, and when my app start, 
>>>>> sometimes I got segmentation fault, but I can't debbug my app.. If I run 
>>>>> my app everything is fine, but if I try to debbug my app, when I'm doing
>>>>> 
>>>>> MainWindow w;
>>>>> w.show()
>>>>> 
>>>>> when I call w.show() I got segmentation fault and the debbuger send me to 
>>>>> the binary editor with assambler code. The stack doesn't say anything 
>>>>> about what happend... and it's very very rare what it's happend because 
>>>>> is exactly the same code which I have compiled and running with 5.4.2
>>>> 
>>>> 
>>>> 
>>>>> beside, Qt Creator give me 20 000 + warnings... for example...
>>>>> 
>>>>> in all my classes where I have the macro Q_OBJECT i got a warning... what 
>>>>> is that ?? :(
>>>> 
>>>> That is a problem in Qt 5.5.0 in combination with earlier Xcode versions 
>>>> which do not understand a pragma that was introduced to avoid warning 
>>>> messages with later Xcode versions, and afaik fixed in 5.5.1
>>>> 
>>>>> I think that this problem is only for OS X, because my friends use Linux 
>>>>> and Widows and the only one who has this kind of troubles is me
>>>>> 
>>>>> regards
>>>>> 
>>>>> =============================================
>>>>> "El tamaño de tus logros depende del tamaño de tus metas."
>>>>> C++ and Qt Senior Developer
>>>>> Lic. Computer Science
>>>>> Buenos Aires, Argentina
>>>>> 
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> [email protected]
>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>> 
>>>> --
>>>> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>>>> 
>>>> The Qt Company 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
>>> 
>>> -- 
>>> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>>> 
>>> The Qt Company 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
>>> [email protected]
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>> _______________________________________________
>> Qt-creator mailing list
>> [email protected]
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
 
The Qt Company 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
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to