Am 01.03.2014 um 11:26 schrieb Jürgen Spitzmüller <juer...@spitzmueller.org>:

> Am Freitag 28 Februar 2014, 23:01:37 schrieb Georg Baum:
>> Also, the qt sources 
>> themselves still use the Q_WS macros, although I could not find any place 
>> where they are defined. Is that simply broken code? I can't believe.
> 
> This is intentional, apparently:
> http://lists.qt-project.org/pipermail/interest/2013-May/007098.html
> 
> Jürgen


Moreover they provide a Q_WS_MAC example about 10 lines below the
statement "Q_WS_MAC is no longer defined in Qt 5." here:

http://qt-project.org/doc/qt-5.0/qtdoc/mac-differences.html

The Qt system detection defines:

Q_OS_DARWIN   - for any Darwin system
Q_OS_MAC      - OS X and iOS
Q_OS_OSX      - OS X (synonym: Q_OS_MACX)
Q_OS_IOS      - iOS

Stephan

Reply via email to