Bug 240922 - kdebase-runtime does not compile
Summary: kdebase-runtime does not compile
Status: RESOLVED FIXED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 19:06 UTC by Michael Drüing
Modified: 2010-06-07 16:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.