You need to replace all instances of "PyQt4" with PySide in source code.

Leo can probably run fine with pyside, but it's not yet as widely
deployed as PyQt (development has been focusing on Linux mostly).

On Thu, Jun 30, 2011 at 3:41 PM, lewis <[email protected]> wrote:

> Is it possible to run leo using pyside?
> I read Differences Between PySide and PyQt
> see http://developer.qt.nokia.com/wiki/Differences_Between_PySide_and_PyQt
>
> A search of leo files for the string: “import PyQt4.QtCore” found it
> in LeoApp.py (line 443) at C:\Python27\Lib\site-packages\leo-editor\leo
> \core
> I replaced 'import PyQt4.QtCore' with 'import PySide.QtCore'
> and also replaced line 444 'import PyQt4.QtGui' with 'import
> PySide.QtGui '
> I tried running leo with pyside 1.04 installed but it just reports
> "Leo requires Qt to be installed" and doesn't launch.
> Has anyone tried getting pyside to work or suggest anything further?
> Does the code need to be compiled into a LeoApp.pyc file?
> I'm simply trying to learn a few things about PyQt and pyside so
> please forgive the somewhat amateur approach :)
>
> Thanks
> Lewis
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/leo-editor?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to