MantisBT - CMake
View Issue Details
0014505CMakeModulespublic2013-10-22 15:182014-03-05 09:58
Orion Poplawski 
Clinton Stimpson 
normalminoralways
closedfixed 
CMake 2.8.12 
 
0014505: UseQt4 insists on linking with -lQtXml if QtSvg is requested
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)
No tags attached.
Issue History
2013-10-22 15:18Orion PoplawskiNew Issue
2013-10-23 03:15Peter KuemmelNote Added: 0034221
2013-10-23 03:15Peter KuemmelAssigned To => Peter Kuemmel
2013-10-23 03:15Peter KuemmelStatusnew => confirmed
2013-10-23 09:06Clinton StimpsonAssigned ToPeter Kuemmel => Clinton Stimpson
2013-10-23 09:06Clinton StimpsonStatusconfirmed => assigned
2013-10-23 09:07Clinton StimpsonNote Added: 0034226
2013-10-23 09:07Clinton StimpsonStatusassigned => resolved
2013-10-23 09:07Clinton StimpsonResolutionopen => fixed
2014-03-05 09:58Robert MaynardNote Added: 0035296
2014-03-05 09:58Robert MaynardStatusresolved => closed

Notes
(0034221)
Peter Kuemmel   
2013-10-23 03:15   
QtSvg doesn't link against the QtXml:

https://qt.gitorious.org/qt/qt/source/8fced55b717b7659866e268ab4a09ccb8bec2841:src/svg/svg.pro [^]

but the svg plugin,

https://qt.gitorious.org/qt/qt/source/8fced55b717b7659866e268ab4a09ccb8bec2841:src/plugins/imageformats/svg/svg.pro [^]

But does this matter here?
(0034226)
Clinton Stimpson   
2013-10-23 09:07   
Fixed here.

656716d qt4: Fix linking with QtSvg to not include QtXml.


By the way, it doesn't matter here that the svg plugin uses QtXml.
(0035296)
Robert Maynard   
2014-03-05 09:58   
Closing resolved issues that have not been updated in more than 4 months