[cmake-developers] [CMake 0014945]: Q_WS_* obsolete in QT5 - now it is Q_OS_*

Mantis Bug Tracker mantis at public.kitware.com
Thu May 29 07:30:10 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14945 
====================================================================== 
Reported By:                Richard Patek
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14945
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-05-29 07:30 EDT
Last Modified:              2014-05-29 07:30 EDT
====================================================================== 
Summary:                    Q_WS_* obsolete in QT5 - now it is Q_OS_*
Description: 
Macros Q_WS_* are not exists in QT5. Now there are macros Q_OS_*

So CMAKE write result like this on QT5 builds :

Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - not found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - not found

QT4 macros - http://qt-project.org/doc/qt-4.8/qtglobal.html
QT5 macros - http://qt-project.org/doc/qt-5/qtglobal.html

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-05-29 07:30 Richard Patek  New Issue                                    
======================================================================



More information about the cmake-developers mailing list