[cmake-developers] [CMake 0014505]: UseQt4 insists on linking with -lQtXml if QtSvg is requested

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 22 15:18:52 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14505 
====================================================================== 
Reported By:                Orion Poplawski
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14505
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-10-22 15:18 EDT
Last Modified:              2013-10-22 15:18 EDT
====================================================================== 
Summary:                    UseQt4 insists on linking with -lQtXml if QtSvg is
requested
Description: 
UseQt4 insists on linking with -lQtXml if QtSvg is requested.  However, plplot's
libplplotqtd.so uses QtSvg and does not need to link directly to QtXml.

This seems to be the culprit:

set(QT_QTSVG_MODULE_DEPENDS QTGUI QTXML QTCORE)

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-10-22 15:18 Orion PoplawskiNew Issue                                    
======================================================================




More information about the cmake-developers mailing list