[PyQt] SIP API v2 at compile time?
Jugdish
jugdizh at gmail.com
Thu Mar 4 15:57:59 GMT 2010
Is there any way to compile SIP so that it uses v2 of its API for things
like QString, QVariant, QDate, etc.?
I would rather not do:
import sip
sip.setapi('QString', 2)
at runtime because I can not always guarantee that PyQt4 hasn't been
imported before I am able to make the above call. Instead, I want to
forcibly set the API to v2 for our entire site-wide build of SIP. Any way to
do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100304/aa455b38/attachment.html>
More information about the PyQt
mailing list