[PyKDE] Re: kiocmodule fails to buld (kdelibs 3.1.3 / kdebase 3.1.2)

Jim Bublitz jbublitz at nwinternet.com
Fri Aug 8 19:31:00 BST 2003


On Friday August 8 2003 10:04, Mateusz Korniak wrote:
> > This should only affect KDE 3.1.2. Upgrading to KDE 3.1.3
> > should also fix it.

> Does PyKDE depend on kdebase either only on kdelibs ?
> I temporarly have hybrid kdelibs-3.1.3/kdebase-3.1.2 system -
> and KDE is identified as version 3.1.2 (this should not be
> clue there - as setShared is: %If ( KDE_3_1_2 - KDE_3_1_3
> - but I might be completly mistaken).

The only dependencies are in kdelibs - kdebase should make no 
difference. build.py will look at the major and minor version 
numbers in kdeversion.h to determine the version you have (can't 
use the full version string because RH mungs that). If you have 
KDE 3.1.3 installed but kdeversion.h reports KDE 3.1.2, build.py 
will generate code for KDE 3.1.2.

The %If conditional means:

   KDE 3.1.2 <= version < KDE 3.1.3

Note the "<=" on the left and "<" on the right - only 3.1.2 will 
satisfy the conditional above. 

build.py will tell you what KDE version it thinks you have near 
the top of its output.

Jim




More information about the PyQt mailing list