On Fri, 17 Jan 2014 04:59:46 -0800 (PST) lewis <[email protected]> wrote:
> When running Leo with the PyQt4-4.10.3-gpl-Py3.3-Qt4.8.5-x64 package, > plugins viewrendered, bigdash and richtext all load. > > *Leo Log WindowLeo 4.11 final, build 6590, 2014-01-17 23:18:41Python 3.3.3, > qt version 4.8.5Windows 6, 1, 7601, 2, Service Pack 1* > > However if I use the the PyQt4-4.10-gpl-Py3.3-Qt5.1.0-x64.exe package I get > traceback errors for viewrendered, bigdash and richtext plugins. I'm surprised it works at all. Currently Leo doesn't support Qt5, hopefully it won't be a big task to add support, but it's not done yet. I think perhaps the reason it does work at all, is that PyQt4-4.x doesn't entirely support Qt5 either, it just links against it and exposes the same functionality that was available in Qt4. So presumably PyQt5, when it's ready, wouldn't work with Leo at all. Possibly we'll end up only supporting PyQt4 + Qt4 or PyQt5 + Qt5, not sure about availability timelines etc., but I do think PyQt4 + Qt5 is a transitional kind of thing. Cheers -Terry > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Leo Log WindowLeo 4.11 final, build 6590, 2014-01-17 23:18:41Python 3.3.3, > qt version 5.1.0Windows 6, 1, 7601, 2, Service Pack 1leoID=lewis (in > C:\Users\lewis\.leo)load dir: > C:\Python33\Lib\site-packages\leo-editor\leo\coreglobal config dir: > C:\Python33\Lib\site-packages\leo-editor\leo\confighome dir: > C:\Users\lewisreading settings in > C:\Python33\Lib\site-packages\leo-editor\leo\config\leoSettings.leodocutils > loadedreading settings in C:\Users\lewis\.leo\myLeoSettings.leohttp serving > enabled at 127.0.0.1:8130, version 0.99reading settings in > C:\Users\lewis\.leo\workbook.leo'@focused-border-unfocus-color' from > style-sheet comment definition, please use regular @string / @color type > @settings.Abbreviations offerror importing plugin: > leo.plugins.viewrenderedTraceback (most recent call last): File > "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoPlugins.py", line > 548, in loadOnePlugin __import__(moduleName) File > "C:\Python33\Lib\site-packages\leo-editor\leo\plugins\viewrendered.py", > line 226, in <module> import PyQt4.QtWebKit as QtWebKitImportError: DLL > load failed: The specified module could not be found.loadOnePlugin: can not > load enabled plugin: leo.plugins.viewrenderederror importing plugin: > leo.plugins.bigdashTraceback (most recent call last): File > "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoPlugins.py", line > 548, in loadOnePlugin __import__(moduleName) File > "C:\Python33\Lib\site-packages\leo-editor\leo\plugins\bigdash.py", line 40, > in <module> from PyQt4.QtWebKit import *ImportError: DLL load failed: > The specified module could not be found.loadOnePlugin: can not load enabled > plugin: leo.plugins.bigdasherror importing plugin: > leo.plugins.richtextTraceback (most recent call last): File > "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoPlugins.py", line > 548, in loadOnePlugin __import__(moduleName) File > "C:\Python33\Lib\site-packages\leo-editor\leo\plugins\richtext.py", line > 68, in <module> from PyQt4 import QtGui, QtWebKit, QtCore, Qt, > QtXmlImportError: DLL load failed: The specified module could not be > found.loadOnePlugin: can not load enabled plugin: leo.plugins.richtext* > Regards > Lewis > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
