[Development] Setup QT creator for developing QT apps on wandboard-Error

Nilesh Kokane nilesh.kokane at mindastoneridge.com
Tue Jul 29 13:47:03 CEST 2014


Hi Ch'Gans,

Thanks for your valuable reply first of all.



127.0.0.1 is your local network node, so it's very unlikely it will ever
failed. This is all very basic Unix/networking knowledge...

You need to find out the IP address of your board, I don't know how your
computer is setup, nor do I know how your board is. So I'm sorry but I
can't help you on that one

PC is set with ubuntu14.04. And I'm using wandboard-solo rev-A0

Anyways i carried the following experiment


I gave a static address to wandboard by using
ifconfig eth0 192.168.73.55

ifconfig eth0 192.168.73.55 up

now with the
wandboard-solo:~# ifconfig

it shows the desired ip address

But when trying to ping the host PC using the wandboard is giving the
following error.

192.168.74.145 (192.168.74.145):56 data byte
sendto:Network is unreachable

do i need to alter anything else?


Interesting, can you try this then:
$ find /home/minda/bin/fsl-community-
bsp/build/tmp/sysroots/wandboard-solo -name 'libQt*'

/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QmlDevTools.a
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PlatformSupport.a
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Bootstrap.a
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGLExtensions.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGLExtensions.a
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Bootstrap.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QmlDevTools.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QmlDevTools.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PlatformSupport.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PlatformSupport.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5XmlPatterns.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Bootstrap.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Qml.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Test.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGL.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickTest.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Gui.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5OpenGLExtensions.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Network.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.so.5
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Quick.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5QuickParticles.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Sql.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5DBus.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Widgets.so.5.1.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Concurrent.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Svg.la
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Xml.so
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5PrintSupport.so.5.1
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5Core.prl
/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/lib/libQt5V8.so.5

Not good, in a previous email you mentioned /opt/poky/1.6.1/..., and now it
seems to be /opt/poky/1.4.1/...

Which version of Poky are you really using?

I'm using 1.6.1, the previous

By giving the ./qtcreator.sh in the Qt5.3.1 directory
(/Qt5.3.1/Tools/QtCreator/bin)it pops with the logs

minda at minda-HP-dx2480-MT-VP562PA:~/Qt5.3.1/Tools/QtCreator/bin$ sh -x
./qtcreator.sh


*+ source
/opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi*
./qtcreator.sh: 2: ./qtcreator.sh: source: not found
+ which ./qtcreator.sh
+ me=./qtcreator.sh
+ test -L ./qtcreator.sh
+ dirname ./qtcreator.sh
+ bindir=.
+ cd ./../lib
+ pwd
+ libdir=/home/minda/Qt5.3.1/Tools/QtCreator/lib
+
LD_LIBRARY_PATH=/home/minda/Qt5.3.1/Tools/QtCreator/lib:/home/minda/Qt5.3.1/Tools/QtCreator/lib/qtcreator
+ export LD_LIBRARY_PATH
+ exec ./qtcreator


i'm puzzled how 1.4.1 is coming there.But i've conformed that i'm using the
1.6.1 by verifying the /opt/poky


One key question you need to ask yourself is whether you need Qt4 or Qt5.
Can you answer that?

we wanna use Qt5


If you keep changing your environment all the time, we won't be able to
help, you might be interested in this FAQ:
http://catb.org/~esr/faqs/smart-questions.html

I could not access the URL.





 Have you tried the "bitbake meta-toolchain-qt5" command?
>
> No i didn't tried ,can you please provide the step for that
>

Try this:
$ cd /home/minda/bin/fsl-community-
bsp/
$ bitbake meta-toolchain-qt5


I cannot find the folder of mita-toolchain-qt5 in the
/home/minda/bin/fsl-community-bsp/sources

can you please provide the  url for cloning.

sorry i'm novice in this field



Thanks
Nilesh Kokane






On Tue, Jul 29, 2014 at 4:03 PM, Ch'Gans <chgans at gna.org> wrote:

> On 29/07/14 18:44, Nilesh Kokane wrote:
>
>> Hi Christian,
>>
>> First of all thanks for your valuable reply.
>>
>> Based on your  suggestion I pinged the board with the boards ip address
>> which i found it from the serial console
>>
>> $ ping 127.0.0.1
>>
>
> Hi Nilesh,
>
> 127.0.0.1 is your local network node, so it's very unlikely it will ever
> failed. This is all very basic Unix/networking knowledge...
>
> You need to find out the IP address of your board, I don't know how your
> computer is setup, nor do I know how your board is. So I'm sorry but I
> can't help you on that one
>
>
>  gave success
>>
>> Also i pinged the host PC trough the board with
>>
>> $ ping 127.0.0.2
>>
>> Gave success
>>
>
> Forget about 127.0.0.2... this is not what you are after.
>
>
>> But with SSH from the host
>>
>> $ ssh root at 127.0.0.1 <mailto:root at 127.0.0.1>
>>
>>
>>
>> Connecting to host...
>>
>> SSH connection failure: Connection refused
>>
>
> Forget about that one too...
>
>  $ find
>> /home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo
>>
>> -name libicui18n.so.51 -o -name libz.so.1
>>
>>
>> /tmp/sysroots/wandboard-solo -name libicui18n.so.51 -o -name libz.so.1
>> /home/minda/bin/fsl-community-bsp/build/tmp/sysroots/
>> wandboard-solo/lib/libz.so.1
>> /home/minda/bin/fsl-community-bsp/build/tmp/sysroots/
>> wandboard-solo/usr/lib/libicui18n.so.51
>>
>
> Interesting, can you try this then:
> $ find /home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo
> -name 'libQt*'
>
>
>  What does this command gives?
>> $ sh -x ./qtcreator.sh
>>
>>
>> + source
>> /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
>> ./qtcreator.sh: 2: ./qtcreator.sh: source: not found
>>
>
> Not good, in a previous email you mentioned /opt/poky/1.6.1/..., and now
> it seems to be /opt/poky/1.4.1/...
>
> Which version of Poky are you really using?
>
> One key question you need to ask yourself is whether you need Qt4 or Qt5.
> Can you answer that?
>
> If you keep changing your environment all the time, we won't be able to
> help, you might be interested in this FAQ: http://catb.org/~esr/faqs/
> smart-questions.html
>
> [...]
>
>  Have you tried the "bitbake meta-toolchain-qt5" command?
>>
>> No i didn't tried ,can you please provide the step for that
>>
>
> Try this:
> $ cd /home/minda/bin/fsl-community-bsp/
> $ bitbake meta-toolchain-qt5
>
>
> Chris
>
> --
> QtCreator/qmakeparser.cpp:42
> ////////// Parser ///////////
> #define fL1S(s) QString::fromLatin1(s)
> namespace { // MSVC2010 doesn't seem to know the semantics of "static" ...
>



-- 
Thanks

-- 
“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.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140729/c92ecbde/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 67631 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140729/c92ecbde/attachment.png>


More information about the Development mailing list