On Thu, 30 Jun 2011 07:45:19 -0700 (PDT)
lewis <[email protected]> wrote:
> Ville,
> Thankyou. Mmmm 30 py files, 51 occurrences - that's a lot of files! +
> test.leo
>
> I did the search/replace, ran launchleo.py with pyside 1.04 and it
> reports
> *** isPython3: False
> "Can not import nested_splitter
> Leo requires Qt to be installed"
>
> Can you give some pointers on nested_splitter?
I don't think nested splitter's the problem. It's the QtGui.QSplitter
subclass used for the free_layout stuff, but the code in question is:
try:
import leo.plugins.nested_splitter as nested_splitter
splitter_class = nested_splitter.NestedSplitter
# disable special behavior, turned back on by associated plugin,
# if the plugin's loaded
nested_splitter.NestedSplitter.enabled = False
except ImportError:
print('Can not import nested_splitter')
splitter_class = QtGui.QSplitter
so 'Can not import nested_splitter' is just a warning, and it falls
back to the regular QtGui.QSplitter.
I.e. the subsequent "Leo requires Qt to be installed" line is coming
from somewhere else.
Cheers -Terry
> Regards
> Lewis
>
> On Jun 30, 10:45 pm, "Ville M. Vainio" <[email protected]> wrote:
> > 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).
>
--
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.