Re: Problem building kdelibs4

Christopher Albert <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
Jason White wrote:
> Stock NetBSD 4.0/i386 install, wip sources updated today.  While 
> compiling kdelibs4:
> 
> [...]
> [ 16%] Building CXX object kdeui/CMakeFiles/kdeui.dir/util/kcursor.o
> /usr/obj/pkg/wip/kdelibs4/work/kdelibs-4.0.0/kdeui/util/kcursor.cpp: In 
> function 'void<unnamed>::x11SetCursorName(Qt::HANDLE, const QString&)':
> /usr/obj/pkg/wip/kdelibs4/work/kdelibs-4.0.0/kdeui/util/kcursor.cpp:163: 
> [...]

I had the same problem today with KDE 4.1, you can fix it by changing 
QFile::encodeName(name) to QFile::encodeName(name).data() in line 163 of 
kcursor.cpp

Regards,
Chris


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.