[PyKDE] Re: Reasonig KDE version fix (kdelibs 3.1.3)

Jim Bublitz jbublitz at nwinternet.com
Mon Aug 11 21:36:01 BST 2003


On Monday August 11 2003 02:58, Mateusz Korniak wrote:
> On Friday 08 of August 2003 20:30, you wrote:
> > On Friday August 8 2003 10:42, Mateusz Korniak wrote:
> > > /usr/X11R6 is the KDE base directory.
> > > /usr/X11R6/include contains kdeversion.h.
> > > KDE 3.1.2 is being used.
> > > ^^^^^^^^^^^^^^^^^^^^^^
> > > /usr/X11R6/bin/qmake will be used to generate Makefiles.
> > >
> > > $ grep VERSION /usr/X11R6/include/kdeversion.h
> > > #ifndef _KDE_VERSION_H_
> > > #define _KDE_VERSION_H_
> > > #define KDE_VERSION_STRING "3.1.3"
> > > #define KDE_VERSION_MAJOR 3
> > > #define KDE_VERSION_MINOR 1
> > > #define KDE_VERSION_RELEASE 3
> > > #define KDE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) <<
> > > 8) | (c)) #define KDE_VERSION \

> > Let me know if you figure it out

> I have not looked into idea of version checking code but looks
> that changing line:
> KDEVers    = ["300", "301", "303", "310", "311", "312"]
> into
> KDEVers    = ["300", "301", "303", "310", "311", "312", "313"]
> fixes problem.

Yes - I missed that, but then the build will fail, because the 
313 version has a few minor./stupid errors (which I've already 
fixed - new release will be correct).

> P.S. Are you going to include build.py (recently posted on
> list) allowing to build to directory other than containing
> PyQt modules (As packager I'm interested in such feature) ?

Yes - I'm working on it right now. I want to add some additional 
version sanity checks for sip, PyQt and PyKDE so that people are 
informed by build.py when mismatches exist on their system, plus 
a few other things. I also want to eliminate the need to fixup 
-L paths.

Jim




More information about the PyQt mailing list