[packagekit] KPackageKit build failure
Richard Hughes
hughsient at gmail.com
Sun Apr 26 00:59:10 PDT 2009
/home/hughsie/Code/kpackagekit/AddRm/KpkPackageDetails.cpp: In member
function ‘void KpkPackageDetails::description(PackageKit::Package*)’:
/home/hughsie/Code/kpackagekit/AddRm/KpkPackageDetails.cpp:119: error:
no match for ‘operator!=’ in ‘PackageKit::Package::Details::license()
const() != (PackageKit::Package::License)-0x000000001’
119: if (details->license() != Package::UnknownLicense)
I guess you want to use the licence as a string, and depends on the
next version of PackageKit (or use #ifdefs) as I know the type changed
in QTPackageKit recently.
This is with PackageKit from git.
Richard.
More information about the PackageKit
mailing list