Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Giulio Camuffo
2014-08-08 7:52 GMT+03:00 Steve (YiLiang) Zhou sz...@telecomsys.com: Hi Filip, I got what you mean, so if I use QGLWidget to get the wl_suface and createeglwindow , it can work theoretically ,right? You're not supposed to get the wl_surface or anything like that, QGLWidgets abstracts it away.

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Steve (YiLiang) Zhou
Thanks Giulio, Our app has an render thread which use opengl api to draw something like map on eglsurface. So I was thinking about to use a QGLWidget to render it , just call glwidget-makeCurrent() when the render thread ready to draw a frame. I don't need to embed a QGLWidget to another

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Giulio Camuffo
2014-08-08 11:25 GMT+03:00 Steve (YiLiang) Zhou sz...@telecomsys.com: Thanks Giulio, Our app has an render thread which use opengl api to draw something like map on eglsurface. So I was thinking about to use a QGLWidget to render it , just call glwidget-makeCurrent() when the render thread

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-08 Thread Till Oliver Knoll
Am 08.08.2014 um 10:25 schrieb Steve (YiLiang) Zhou sz...@telecomsys.com: Thanks Giulio, Our app has an render thread which use opengl api to draw something like map on eglsurface. So I was thinking about to use a QGLWidget to render it , just call glwidget-makeCurrent() when the render

[Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Steve (YiLiang) Zhou
Dear all, I have app which was developed by qt4, and we want to port it to tizen ivi wayland platform, so I have to update our app to qt5. We have a feature : drawing something based on egl on a qt window(we use QDialog). Egl need a EGLSurface and a EGLDisplay to get the feature work.

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Tomasz Olszak
Dnia czwartek, 7 sierpnia 2014 15:51:31 Steve Zhou pisze: Dear all, I have app which was developed by qt4, and we want to port it to tizen ivi wayland platform, so I have to update our app to qt5. We have a feature : drawing something based on egl on a qt window(we use QDialog). Egl

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Thiago Macieira
On Thursday 07 August 2014 15:51:31 Steve Zhou wrote: Dear all, Hi Steve Didn't Giulio reply to you on this very subject on the wayland mailing list? Giulio is Qt Wayland's co-maintainer, so his answer there is the best you're going to get. Is there anything new? -- Thiago Macieira -

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Steve (YiLiang) Zhou
Hi Thiago, Thanks for your reply, Giulio did give me some advices to try , but I'm not so familiar with qt and wayland ,so I post the help request here too. Can you or Giulio give me some sample codes so that I can get this work? Anyway thank you guys very much for your replys. Thanks and Best

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Filip Piechocki
Hi, As Giulio wrote, it is not clear what you want to achieve. If you want to draw with OpenGL on a Qt widget, there is a QGLWidget which is supposed for that (or its actual replacement - QOpenGLWidget, but it will be introduced in 5.4 if I'm not wrong here, you can try the latest snapshot).

Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on tizen ivi, can't get the QDialog's window handle which can cast to EGLNativeWindowType

2014-08-07 Thread Steve (YiLiang) Zhou
Hi Filip, I got what you mean, so if I use QGLWidget to get the wl_suface and createeglwindow , it can work theoretically ,right? Thanks and Best Regards Steve Zhou From: Filip Piechocki [mailto:fpiecho...@gmail.com] Sent: Friday, August 08, 2014 12:40 PM To: Steve (YiLiang) Zhou Cc: