Show More
@@ -871,14 +871,14 b' PyQt and PySide' | |||||
871 |
|
871 | |||
872 | When you use ``--gui=qt`` or ``--matplotlib=qt``, IPython can work with either |
|
872 | When you use ``--gui=qt`` or ``--matplotlib=qt``, IPython can work with either | |
873 | PyQt4 or PySide. There are three options for configuration here, because |
|
873 | PyQt4 or PySide. There are three options for configuration here, because | |
874 |
PyQt4 has two APIs for QString and QVariant |
|
874 | PyQt4 has two APIs for QString and QVariant: v1, which is the default on | |
875 | Python 2, and the more natural v2, which is the only API supported by PySide. |
|
875 | Python 2, and the more natural v2, which is the only API supported by PySide. | |
876 | v2 is also the default for PyQt4 on Python 3. IPython's code for the QtConsole |
|
876 | v2 is also the default for PyQt4 on Python 3. IPython's code for the QtConsole | |
877 | uses v2, but you can still use any interface in your code, since the |
|
877 | uses v2, but you can still use any interface in your code, since the | |
878 | Qt frontend is in a different process. |
|
878 | Qt frontend is in a different process. | |
879 |
|
879 | |||
880 | The default will be to import PyQt4 without configuration of the APIs, thus |
|
880 | The default will be to import PyQt4 without configuration of the APIs, thus | |
881 |
matching what most applications would expect. It will fall back o |
|
881 | matching what most applications would expect. It will fall back to PySide if | |
882 | PyQt4 is unavailable. |
|
882 | PyQt4 is unavailable. | |
883 |
|
883 | |||
884 | If specified, IPython will respect the environment variable ``QT_API`` used |
|
884 | If specified, IPython will respect the environment variable ``QT_API`` used |
General Comments 0
You need to be logged in to leave comments.
Login now