<div dir="ltr"><div><div>Hi Ch'Gans,<br><br><br></div>Thanks for your valuable reply<br><br>This is not the right file, try this instead:<br>
/opt/poky/1.6/sysroots/x86_64-<div id=":2i2" class="">pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-linux-gnueabi-g++</div><br><br></div>i just tried with (/opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++) in qt mkspec. But, its popping out warning symbol<br>
<div><br><br><br><br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 12:17 PM, Ch'Gans <span dir="ltr"><<a href="mailto:chgans@gna.org" target="_blank">chgans@gna.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 08/08/14 18:16, Nilesh Kokane wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Christiab,<br>
<br>
</blockquote>
[...]<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Or set the full path to your cross-gcc in QtCreator "Build&run" config.<br>
<br>
I just checked by giving the full path in the qt mkspec as* but its<br>
showing the warning sign<br>
<br>
(*/opt/poky/1.6.1/sysroots/<u></u>cortexa9hf-vfp-neon-poky-<u></u>linux-gnueabi/usr/lib/qt5/<u></u>mkspecs/linux-arm-gnueabi-g++)<br>
</blockquote>
<br></div>
This is not the right file, try this instead:<br>
/opt/poky/1.6/sysroots/x86_64-<u></u>pokysdk-linux/usr/bin/arm-<u></u>poky-linux-gnueabi/arm-linux-<u></u>gnueabi-g++<br>
<br>
Chris<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
<br>
can you please suggest<br>
<br>
Thanks<br>
Nilesh kokane<br>
<br>
<br>
On Fri, Aug 8, 2014 at 10:50 AM, Christian Gagneraud <<a href="mailto:chgans@gna.org" target="_blank">chgans@gna.org</a><br></div><div><div class="h5">
<mailto:<a href="mailto:chgans@gna.org" target="_blank">chgans@gna.org</a>>> wrote:<br>
<br>
    On 8/08/2014 4:25 p.m., Nilesh Kokane wrote:<br>
     > Hi ,<br>
     ><br>
     > Based on the url<br>
     ><br>
    <a href="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard" target="_blank">http://wiki.wandboard.org/<u></u>index.php/Building_Qt5_using_<u></u>yocto_on_Wandboard</a><br>
     ><br>
     > bitbake core-image-minimal and  bitbake meta-toolchain-qt5<br>
     ><br>
     > Both gave me success.<br>
     ><br>
     ><br>
     > But after setting the qt creator and running the example clocks code<br>
     > its giving me the ld errors as follows<br>
     ><br>
     > 09:41:15: Running steps for project clocks...<br>
     ><br>
     > 09:41:15: Configuration unchanged, skipping qmake step.<br>
     ><br>
     > 09:41:15: Starting: "/usr/bin/make"<br>
     ><br>
     > arm-linux-gnueabi-g++ -o clocks main.o qrc_clocks.o<br>
     ><br>
    -L/opt/poky/1.6.1/sysroots/<u></u>cortexa9hf-vfp-neon-poky-<u></u>linux-gnueabi/usr/lib<br>
    -lQt5Quick<br>
     > -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread<br>
     ><br>
     ><br>
    /usr/lib/gcc-cross/arm-linux-<u></u>gnueabi/4.7/../../../../arm-<u></u>linux-gnueabi/bin/ld:<br>
     > cannot find /lib/libpthread.so.0 inside<br>
     ><br>
     ><br>
    /usr/lib/gcc-cross/arm-linux-<u></u>gnueabi/4.7/../../../../arm-<u></u>linux-gnueabi/bin/ld:<br>
     > cannot find /usr/lib/libpthread_nonshared.<u></u>a inside<br>
<br>
    It looks like you didn't setup QtCreator correctly, your poky cross-gcc<br>
    is not on the PATH (or is after<br>
    /usr/lib/gcc-cross/arm-linux-<u></u>gnueabi/...)<br>
<br>
    make sure that arm-linux-gnueabi-g++ refers to /opt/poky/1.6.1/... and<br>
    not /usr/lib/gcc-cross/..., from a console you can check for this with<br>
    this command:<br>
    $ which arm-linux-gnueabi-g++<br>
<br>
    Or set the full path to your cross-gcc in QtCreator "Build&run" config.<br>
<br>
    Actually, I've just check the url you gave and obviously you didn't do<br>
    (correctly) the 3 steps they give in "Configure Qt creator"<br>
<br>
    Chris<br>
<br>
     ><br>
     > collect2: error: ld returned 1 exit status<br>
     ><br>
     > make: *** [clocks] Error 1<br>
     ><br>
     > 09:41:15: The process "/usr/bin/make" exited with code 2.<br>
     ><br>
     > Error while building/deploying project clocks (kit: wandboard)<br>
     ><br>
     > When executing step 'Make'<br>
     ><br>
     > 09:41:15: Elapsed time: 00:00.<br>
     ><br>
     ><br>
     ><br>
     ><br>
     ><br>
     > I've assuared that the set up in the Configure Qt creators OK ,<br>
    but its<br>
     > still giving the error.<br>
     ><br>
     ><br>
     > can you suggest me for that.<br>
     ><br>
     ><br>
     ><br>
     > --<br>
     > Thanks<br>
     > Nilesh Kokane<br>
     ><br>
     ><br>
     > “The contents of this e-mail message and any attachments are<br>
     > confidential and are intended solely for addressee. The<br>
    information may<br>
     > also be legally privileged. This transmission is sent in trust,<br>
    for the<br>
     > sole purpose of delivery to the intended recipient. If you have<br>
    received<br>
     > this transmission in error, any use, reproduction or dissemination of<br>
     > this transmission is strictly prohibited. If you are not the intended<br>
     > recipient, please immediately notify the sender by reply e-mail<br>
    or phone<br>
     > and delete this message and its attachments, if any.”<br>
     ><br>
     ><br>
     > ______________________________<u></u>_________________<br>
     > Interest mailing list<br></div></div>
     > <a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a> <mailto:<a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.<u></u>org</a>><div class=""><br>
     > <a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/<u></u>mailman/listinfo/interest</a><br>
     ><br>
    ______________________________<u></u>_________________<br>
    Interest mailing list<br></div>
    <a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a> <mailto:<a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.<u></u>org</a>><div class=""><br>
    <a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/<u></u>mailman/listinfo/interest</a><br>
<br>
<br>
<br>
<br>
--<br>
Thanks<br>
Nilesh Kokane<br>
<br>
<br></div><div class="">
“The contents of this e-mail message and any attachments are<br>
confidential and are intended solely for addressee. The information may<br>
also be legally privileged. This transmission is sent in trust, for the<br>
sole purpose of delivery to the intended recipient. If you have received<br>
this transmission in error, any use, reproduction or dissemination of<br>
this transmission is strictly prohibited. If you are not the intended<br>
recipient, please immediately notify the sender by reply e-mail or phone<br>
and delete this message and its attachments, if any.”<br>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
QtCreator/qmakeparser.cpp:42<br>
////////// Parser ///////////<br>
#define fL1S(s) QString::fromLatin1(s)<br>
namespace { // MSVC2010 doesn't seem to know the semantics of "static" ...<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Thanks<br></div>Nilesh Kokane<br><div><br></div></div>
</div>

<br>
<span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">“The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.”</span>