[cmake-developers] [CMake 0013646]: Automoc doesn't recognise "#if QT_VERSION = x" anymore

Mantis Bug Tracker mantis at public.kitware.com
Fri Nov 2 17:37:40 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13646 
====================================================================== 
Reported By:                Dominik Schmidt
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13646
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-11-02 17:37 EDT
Last Modified:              2012-11-02 17:37 EDT
====================================================================== 
Summary:                    Automoc doesn't recognise "#if QT_VERSION = x"
anymore
Description: 
With the latest release of CMake compilation of Tomahawk Player stopped working
for us because automoc stopped producing output for a certain file.

Obviously code ifdef'ed by "#if QT_VERSION >= 0x040400" isn't scanned anymore.

The commit that fixed building for us:
https://github.com/tomahawk-player/tomahawk/commit/c910e1b58f01a42b9f99222e501172576d8cad06

Steps to Reproduce: 
Put code in "#if QT_VERSION >= 0x040400" and run automoc on it.

Additional Information: 
Of course I'm talking about CMake built in automoc, not automoc4 from KDE.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-02 17:37 Dominik SchmidtNew Issue                                    
======================================================================




More information about the cmake-developers mailing list