DevHeads.net

‘const class KFileItem’ has no member named ‘isFinalIconKnown’

I am not able to build kde-baseapps on lfs7.3

[ 4%] Building CXX object
dolphin/src/CMakeFiles/dolphinprivate.dir/kitemviews/kfileitemmodelrolesupdater.o
/sources/blfs/kde-baseapps-4.10.2/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:
In member function ‘bool
KFileItemModelRolesUpdater::applyResolvedRoles(const KFileItem&,
KFileItemModelRolesUpdater::ResolveHint)’:
/sources/blfs/kde-baseapps-4.10.2/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:999:42:
error: ‘const class KFileItem’ has no member named ‘isFinalIconKnown’

Removing || !item.isFinalIconKnown() from line 999 in the source file I
am able to build kde-baseapps.

KDE is running now, but I keep getting:
Could not find mime types:
“inode/directory”
“inode/blockdevice”
“inode/chardevice”
“inode/socket”
“inode/fifo”
“application/x-shellscript”
“application/x-executable”
“application/x-desktop”

upon start of kde (Nepomuk is the first to complain) or when I start
Dolhin.

So my hacking the source code is not the solution I want, any ideas on
what is going wrong in my build?

Comments

Re: ‘const class KFileItem’ has no member named ‘isFinalIconKnow

By Frank Reininghaus at 04/22/2013 - 04:04

2013/4/21 towelday:
Update kdelibs - you need version 4.10.2 to build kde-baseapps 4.10.2.
It seems that David forgot to update the version check in the
CMakeLists.txt.

Cheers,
Frank