On Thursday 17 January 2008 10:42, Dog Walker wrote: > The documentation says that both KDE.versionString and > PyKDE.versionString are available since 3.11. I find KDE.versionString > in kdecore on PyKDE 3.16 but cannot locate PyKDE.versionString. What > should I import to access this function?
It apparently got left out - it should be in kdeversion.sip.. However, you should have a copy of pykdeconfig in /site-packages, or wherever PyKDE has been installed (you will have for sure if you compiled - can't say if packagers install it). You can find the version there: >>> import pykdeconfig >>> cfg = pykdeconfig.Configuration () >>> cfg.pykde_version 200450 >>> cfg.pykde_version_str '3.15.2' pykde_version is the hex representation - would be 0x030f02 in this case (which should equal decimal 200450). I'm apparently running an older version of PyKDE on this box. Jim _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
