[PyKDE] PyKDE-3.3.2-2 build problems on stock Red Hat 7.3 sy
Jim Bublitz
jbublitz at nwinternet.com
Wed Aug 28 15:02:01 BST 2002
On 28-Aug-02 Jonathan Gardner wrote:
> %If ( KDE_3_0_1 - )
"if KDE_VERSION >= 301"
> enum CacheControl
> {
> CC_CacheOnly,
> CC_Cache,
> CC_Verify,
> CC_Refresh,
> CC_Reload
> };
> %End
> %If ( KDE_2_2_0 - KDE_3_0_1 )
"if KDE_VERSION >= 220 and KDE_VERSION < 301"
> enum CacheControl
> {
> CC_CacheOnly,
> CC_Cache,
> CC_Verify,
> CC_Reload
> };
> %End
>
> Which block of code is used if I am running KDE_3_0_1?
It's '>=' on the lower (left) limit and '<' on the upper (right)
limit. Legal version values are defined in a %Timeline
statement included somewhere in the sip files (dcop.sip for PyKDE).
"Platform" conditionals (more in Qt) are "=" only (for example,
WS_X11 or WS_WIN)
Jim
More information about the PyQt
mailing list