[PyKDE] Heirarchy of header files !!
satish k.chimakurthi
skchim0 at engr.uky.edu
Fri Aug 15 03:11:00 BST 2003
Hi Phil,
Thanks for your response.
I have a huge software library written in C++...I have nearly 50 headerfiles
in it....I wrote a small code for my application using some classes which are
defined in some of the header files
If I need to generate a PYTHON WRAPPER of the SOFTWARE LIBRARY only to the
extent needed for my code to run from PYTHON ENVIRONMENT, what should I do ??
There is a big heirarchy of header file dependencies in my code..
For example.,
I have included a headerfile by name "Overture.h" in my code. But then, The
contents of "Overture.h" are declarations of 5 other header files...and those
header files may include some other one's...
I am confused as a result...Can you help me ??
Also, please tell me if there is any detailed documentation about how exactly
PyQT modules were generated using SIP from "QT"..
Thanks for your help in advance,
SATISH
On Thursday 14 August 2003 07:40 pm, you wrote:
> On Thursday 14 August 2003 9:15 pm, satish k.chimakurthi wrote:
> > Hello all,
> >
> > I am an absolute newbie to SIP. I started browsing thru the documentation
> > online. I dont' understand the following :
> >
> > %If Version ( - Qt_2_00) ....
> >
> > I am not able to understand about when exactly I need to use "Version"
> > while writing ".sip" file...And how should I choose the numerals inside
> > the bracket
>
> APIs can change between different releases (versions) of a class library.
> Also, APIs can be dependent on other factors like the platform. SIP allows
> version "tags" to be defined which allows a single .sip file to describe
> the complete history of an API.
>
> SIP supports three sorts of tags. These are defined by %Timeline (the tags
> represent a chronological sequence), %Platforms (the tags represent a
> mutually exclusive set), and %Feature (each feature tag is mutually
> independant). See the versions.sip file in PyQt for examples.
>
> SIP takes any number of -t flags that specify the tags to apply when
> generating code. For example, the build.py script that is run when
> configuring PyQt works out what platform you are on and what version of Qt
> is installed. It then runs SIP with the corresponding tags so that the
> generated code matches your system.
>
> Phil
--
SATISH K.CHIMAKURTHI
GRAD. RESEARCH ASSISTANT
UNIVERSITY OF KENTUCKY
LEXINGTON
KENTUCKY STATE
More information about the PyQt
mailing list