Hi Terry,

Thanks for giving it a shot. Unfortunately, the error type changed but I'm 
still getting a QPainter error.

QPainter::begin: Paint device returned engine == 0, type: 3
Failed to init. painter for icon
QPainter::end: Painter not active, aborted
reading settings in 
/Users/pmagwene/tmp/leo-latest/leo-editor/leo/doc/CheatSheet.leo
QPainter::begin: Paint device returned engine == 0, type: 3
Failed to init. painter for icon
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
Failed to init. painter for icon
QPainter::end: Painter not active, aborted


In desperation I installed Python3 and Qt/PyQT from Homebrew and it worked! 

Leo 4.11 final, build 20141006073153, Mon Oct  6 07:31:53 CDT 2014
Git repo info: branch = master, commit = d4f2b2bcbec3
Python 3.4.2, PyQt version 4.8.6
darwin

Since qmake tells me I'm using the exact same Qt version (4.8.6) with both 
the Anaconda install and the Homebrew install, I'm guessing the difference 
lies in the PyQt build (4.11.1 in the case of Homebrew, 4.10.4 in the case 
of Anaconda).

Thanks for your help,
Paul





On Thursday, October 9, 2014 2:08:25 PM UTC-4, Terry wrote:
>
> On Thu, 9 Oct 2014 12:02:31 -0500 
> "'Terry Brown' via leo-editor" <[email protected] <javascript:>> 
> wrote: 
>
> > On Thu, 9 Oct 2014 11:50:19 -0500 
> > "'Terry Brown' via leo-editor" <[email protected] <javascript:>> 
> wrote: 
> > 
> > > p.s. I assume there's no easy option to use Qt 5? 
> > > 
> > > Not a definite fix, but worth trying if it's easy. 
> > 
> > But before you try that it looks like there might be some things to 
> > explore with QImage vs QPixmap and GIF vs PNG... so just wait for a 
> > new Leo update for now :) 
>
> Ok, Paul, can you try 
>
> Leo 4.11 final, build 20141009130420, Thu Oct  9 13:04:20 CDT 2014 
> Git repo info: branch = master, commit = b2871365a99e 
>
> I just pushed - it renders into a QImage instead of a QPainter, because 
> the 4.x Qt docs. say: 
>
>     Please note that the bitwise raster operation modes, denoted 
>     with a RasterOp prefix, are only natively supported in the 
>     X11 and raster paint engines. This means that the only 
>     way to utilize these modes on the Mac is via a QImage. 
>
> not really sure if that's relevant or not, but it seems worth a shot. 
>
> Cheers -Terry 
>
>     
>

-- 
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/d/optout.

Reply via email to