[cmake-developers] [CMake 0014165]: FindQt4.cmake errors when using customized Qt

Mantis Bug Tracker mantis at public.kitware.com
Thu May 23 04:37:03 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14165 
====================================================================== 
Reported By:                i94matjo
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14165
Category:                   Modules
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-05-23 04:37 EDT
Last Modified:              2013-05-23 04:37 EDT
====================================================================== 
Summary:                    FindQt4.cmake errors when using customized Qt
Description: 
We are using a custom built Qt (with no Xml and No AxServer, it is actually a
mix of QWS and Qt for windows). This causes FindQt4.cmake to crash.
I have fixed the problem by modifying our own FindQt4.cmake.
Since AxServer is not available you need to check QT_AXSERVER_FOUND before
set_property is called on TARGET Qt4::QAxServer.
Also (we are using Qt 4.6.0) the Qt Svg library can be present without the Xml
library (don't know if this is true for later Qt versions). Therefore we made a
version check around "_qt4_add_target_private_depends(QtSvg Xml)".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-05-23 04:37 i94matjo       New Issue                                    
======================================================================




More information about the cmake-developers mailing list