<div>Hi, Everybody, </div>
<div> </div>
<div>I need your help.</div>
<div>When I install qt on wayland, I meet some problems.</div>
<div> </div>
<div>The steps which I&#39;m taking  are as following:</div>
<div>1. git clone git://<a href="http://gitorious.org/+qt-developers/qt/lighthouse.git">gitorious.org/+qt-developers/qt/lighthouse.git</a></div>
<div>2. <span lang="EN-US"><font size="3" face="Calibri">./configure -confirm-license -opensource -no-qt3support -no-xmlpatterns -no-multimedia -no-webkit -no-phonon -developer-build -qpa -egl -opengl es2</font></span></div>

<div><span lang="EN-US"><font size="3" face="Calibri">3. then build it using make</font></span></div>
<div><span lang="EN-US"><font size="3" face="Calibri"></font></span> </div>
<div><span lang="EN-US"><font size="3" face="Calibri">all of the above run smoothly.</font></span></div>
<div><span lang="EN-US"><font size="3" face="Calibri"></font></span> </div>
<div><span lang="EN-US"><font size="3" face="Calibri">But for the next step: </font></span></div>
<div><span lang="EN-US"><font size="3" face="Calibri">4. then build the wayland backend by using : make -C  src/plugins/platforms/wayland</font></span></div>
<div><span lang="EN-US"><font size="3" face="Calibri">I get some errors as following:</font></span></div>
<div><span lang="EN-US"><font size="3" face="Calibri"></font></span> </div>
<div><span lang="EN-US">
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri">In file include from qwaylanddisplay.h:52,</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">           </span>From qwaylandintegration.cpp:44 qwaylandinclude.h:45:28:error:wayland-clients.h:No such file or directory qwaylandcindlue.h:48:25:error:wyaland-egl.h:No such file or directory In file included from qwaylandshmsurface.h:45,</font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">            </span>From qwaylandintegration.cpp:45, qwaylandbuffer.h:47:37:error:wayland-client-protocol.h:No such file or directory In file included from qwaylandintergration.cpp:44 qwaylanddisplay.h:81:error:&#39;wl_display_sync_func_t&#39; has not been declared qwaylanddisplay.h:82:error:&#39;wl_display_frame_func_t&#39;has not been declared In file included from ../../../../include/QtGui/qplatformcursor_qpa.h:1,</font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">            </span>from ../../../../include/QtGui/QPlatformCursor:1,</font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">            </span>from qwaylandintegration.cpp:53:</font></font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri">../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected identifier before numeric constant ../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected &#39;,&#39; or &#39;...&#39;before numeric constant make:***[.obj/debug-shared/qwaylandintegration.o] Error 1</font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri">make: Leaving directory &#39;/home/test/lighthouse/src/plugins/platforms/wayland&#39;</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri">And then, I try to fix this problem ,by coping  </font></span><span lang="EN-US"><span lang="EN-US"><font size="3" face="Calibri">the file, such as wayland-client-protocol.h </font></span></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">                                                                                                   </span>wayland-client.h</font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">                                                                                                    </span>wayland-egl.h </font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">                                                                                                     </span>wayland-util.h ,<span style="mso-spacerun: yes">      </span>to the direction:<span style="mso-spacerun: yes">  </span>/src/plugins/platforms/wayland </font></font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri"></font></span> </p><span lang="EN-US"><font face="Calibri">
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">And the number of mistakes reduced.</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">However, there are still some mistakes, as following:</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"> </font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">In file include from ../../../../include/QtGui/qplatformcursor_qpa.h:1</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><span style="mso-spacerun: yes">           </span>from../../../../include/QtGui/QPlatformCursor:1,</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"><span style="mso-spacerun: yes">           </span>from qwaylandintegration.cpp:53: </font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected identifier before numeric constant ../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected &#39;,&#39; or &#39;...&#39; before numeric constant make :***[.obj/debug-shared/qwaylandintegration.o] Error 1</font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">make: Leaving directory &#39;home/test/lighthouse/src/plugins/platforms/wayland&#39;</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">The above is the error condition. And I try to fix it, so I enter into qplatformcursor_qpa.h file. And find the 67 line is :  void set(QT::CursorShape);</font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"> </font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">But, i don&#39;t know how to settle it. I don&#39;t think the main wrong point is here.</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">Hope you can help me or give me some adivse.</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">ps: the wayland&#39; install is follow the office building guide . And there is no problem and it can run the simply demos on wayland.</font></span></p>

<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">Thanks a lot.</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">Regards,</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3">Haimei Li</font></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"></p></font></span><span lang="EN-US"><font size="3" face="Calibri"></font></span> 
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"><span lang="EN-US"><font size="3" face="Calibri"></font></span> </p>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoPlainText"></p></span> </div>