Re: [Interest] Issues with QPainter on Mac 10.10

2015-03-04 Thread Giuseppe D'Angelo
On 4 March 2015 at 12:43, Matthias Thöny tho...@gmail.com wrote:
 I don't really see the proposed work around. Because you cannot actually
 call any QT function based on OpenGL  3.0 anymore without letting the
 application crash (e.g. renderText in QGLWindow) , when selecting a 4.1
 context (only under mac osx). But I agree that it is a pain to propose
 implementations for every OpenGL core versions only because Apple does not
 provide a compatibility profile. Thanks for the link.

In fact I was not proposing calling those functions, rather something like

QImage image(size, format);
QPainter p(image);
p.drawText(); /* etc.etc. */
p.end();

QOpenGLTexture *texture = new QOpenGLTexture(image);
/* bind, use it */

-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Issues with QPainter on Mac 10.10

2015-03-03 Thread Giuseppe D'Angelo
On 2 March 2015 at 10:04, Matthias Thöny matthias.tho...@gmail.com wrote:
 Dear QT Team,

 I have some issues with QPainter on Mac 10.10 when using the OpenGL 4.1.
 profile. I posted here the details:

 http://qt-project.org/forums/viewthread/53319/

 Can anyone of you help or may be give some information about the state of
 OpenGL 4 pipeline integration on systems like Mac OSX where only an OpenGL 4
 Core Profile is available?

Unfortunately it's a known bug which has been deemed out to scope to fix:

https://bugreports.qt.io/browse/QTBUG-33535

Your best workaround is painting on a QImage instead, loading it on a
texture (QOpenGLTexture) and then drawing a quad.

HTH,
-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Issues with QPainter on Mac 10.10

2015-03-02 Thread Matthias Thöny

Dear QT Team,

I have some issues with QPainter on Mac 10.10 when using the OpenGL 4.1. 
profile. I posted here the details:


http://qt-project.org/forums/viewthread/53319/

Can anyone of you help or may be give some information about the state 
of OpenGL 4 pipeline integration on systems like Mac OSX where only an 
OpenGL 4 Core Profile is available?


all the best and thanks for your effort,
Thoenu


--
Matthias Thöny
matthias.tho...@gmail.com
Auf der Kaserna 10
9498 Planken
Tel: +41 78 912 4503

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest