Le vendredi 5 mars 2010, Anderson Lizardo a écrit :

> use try/except, e.g.:
>
> try:
>     from PySide import QtCore, QtGui
> except ImportError:
>     from PyQt4 import QtCore, QtGui

Ok, but is there a good way to centralize this, to avoid this try/except in 
each module?

> But be sure to pay attention to the different licensing of the two
> bindings. PySide is LGPL (i.e. same license as Qt itself), PyQt4 is
> dual-licensed GPL/commercial.
>
> If in doubt, read the licensing of both projects to make sure your
> application conforms to both.

My application use a GPL-compatible license (the french license CeCILL). I 
guess it is OK.

Thanks,

-- 
   Frédéric

   http://www.gbiloba.org
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to