Bug 240922

Summary: kdebase-runtime does not compile
Product: kde-windows Reporter: Michael Drüing <michael>
Component: generalAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: normal CC: ps_ml
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Michael Drüing 2010-06-06 19:06:28 UTC
Version:           unspecified (using Devel) 
OS:                MS Windows

There's a problem in the activity manager which prevents compilation on MSVC2008.

reason: QString::number doesn't handle arguments of type WId on Windows

A quick fix (aka hack) is the following:
http://pastebin.ca/1877941

it's probably not the right way to fix it because I think WId is a non-POD type on Win32 but at least it lets kdebase-workspace compile

Reproducible: Always

Steps to Reproduce:
try to "emerge kdebase-workspace"

Actual Results:  
compilation fails

Expected Results:  
compilation succeeds
Comment 1 Patrick Spendrin 2010-06-07 16:48:58 UTC
nearly, WId is really an integer on Linux, on Windows it is a void* though, meaning that using qlonglong instead is the way to go. I fixed that in r1135452 already.