Bug 243876

Summary: build fails - missing link to Qtscript
Product: [Applications] kmail Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: patch
better patch

Description tropikhajma 2010-07-07 20:03:08 UTC
Created attachment 48664 [details]
patch

Version:           unspecified (using Devel) 
OS:                Solaris

building kdepim fails with
...
Error while building C++ executable  "kmail" in target kmail. 
Undefined			first referenced
 symbol  			    in file
QScriptValue::~QScriptValue()          /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0
QScriptValue::QScriptValue()          /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0
QScriptValue::QScriptValue(const QScriptValue&)       /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0
ld: fatal: symbol referencing errors. No output written to kmail

the attached patch fixes that

this is on opensolaris b134, using the sun studio 12u1 compiler

Reproducible: Always
Comment 1 tropikhajma 2010-07-09 19:00:21 UTC
Created attachment 48727 [details]
better patch
Comment 2 Thomas McGuire 2010-07-13 22:06:34 UTC
If this fixes the build for you, then please commit.
Comment 3 tropikhajma 2010-07-13 23:46:15 UTC
SVN commit 1149633 by pavelheimlich:

fix build with Sun Studio
BUG:243876


 M  +2 -0      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1149633