[PyQt] Quick question: PyQT version checking
Phil Thompson
phil at riverbankcomputing.co.uk
Sat Apr 28 09:17:15 BST 2007
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
More information about the PyQt
mailing list