[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Quick question: PyQT version checking
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2007-04-28 8:17:15
Message-ID: 200704280917.15913.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Saturday 28 April 2007 8:11 am, Tina I wrote:
> Hi,
>
> To have the application check that the PyQt version is at least the same
> as I used (since I don't have any older versions available to test
> against) can I simply use:
>
>     if QtCore.PYQT_VERSION < 262401:
>        # advice and exit

Yes, although 0x040101 may be easier to read.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic