<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Filip,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I got what you mean, so if I use QGLWidget to get the wl_suface and createeglwindow , it can work theoretically ,right?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks and Best Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Steve Zhou<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Filip Piechocki [mailto:fpiechocki@gmail.com] <br><b>Sent:</b> Friday, August 08, 2014 12:40 PM<br><b>To:</b> Steve (YiLiang) Zhou<br><b>Cc:</b> interest@qt-project.org Interest<br><b>Subject:</b> 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<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p>Hi, <br>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). QDialog is not supposed for that.<o:p></o:p></p><p>BR,<br>Filip<o:p></o:p></p><div><p class=MsoNormal>On Aug 8, 2014 3:57 AM, "Steve (YiLiang) Zhou" <<a href="mailto:szhou@telecomsys.com">szhou@telecomsys.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi Thiago,<br>Thanks for your  reply, Giulio did give me some advices to try , but I'm<br>not so familiar with qt and wayland ,so I post the help request here<br>too.<br>Can you or Giulio give me some sample codes so that I can get this work?<br>Anyway thank you guys very much for your replys.<br><br><br><br>Thanks and Best Regards<br>Steve Zhou<br><br>-----Original Message-----<br>From: Thiago Macieira [mailto:<a href="mailto:thiago.macieira@intel.com">thiago.macieira@intel.com</a>]<br>Sent: Thursday, August 07, 2014 10:19 PM<br>To: <a href="mailto:interest@qt-project.org">interest@qt-project.org</a><br>Cc: Steve (YiLiang) Zhou<br>Subject: Re: [Interest] Help!! app qt4 upgrade to qt5 for wayland on<br>tizen ivi, can't get the QDialog's window handle which can cast to<br>EGLNativeWindowType<br><br>On Thursday 07 August 2014 15:51:31 Steve  Zhou wrote:<br>> Dear all,<br><br>Hi Steve<br><br>Didn't Giulio reply to you on this very subject on the wayland mailing<br>list?<br>Giulio is Qt Wayland's co-maintainer, so his answer there is the best<br>you're going to get.<br><br>Is there anything new?<br>--<br>Thiago Macieira - thiago.macieira (AT) <a href="http://intel.com" target="_blank">intel.com</a><br>  Software Architect - Intel Open Source Technology Center<br><br><br>CONFIDENTIALITY NOTICE: The information contained in this message may be privileged and/or confidential. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please notify the sender immediately, and delete it and all attachments from your computer and network.<br>_______________________________________________<br>Interest mailing list<br><a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br><a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/mailman/listinfo/interest</a><o:p></o:p></p></div></div><p>CONFIDENTIALITY NOTICE: The information contained in this message may be privileged and/or confidential. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please notify the sender immediately, and delete it and all attachments from your computer and network.</p>
</body></html>