cross compiled qt for BBB
-
@Asha said in cross compiled qt for BBB:
can i install vnc software in my beaglebone board
There is no need to do this if you want your app running on directly connected display! VNC is for REMOTE access.
"how to run that or how to enable that server on my board?" - simply install a desktop environment like XFCE/Gnome/... or at least a window manager, it will install X11 as well. But I'm wondering how you plan to use your device if you do not even know what is actually running there and what you actually want to use on the device?
-
@jsulm said in cross compiled qt for BBB:
desktop environment like XFCE/Gnome/
I have debian desktop on my display(beagleboneboard),
when I boot the sdcard,i am able to see debian os on my display screen(even two to three folders also i am able to see)but while executing this qt exe file only i am getting that error..
-
@Asha said in cross compiled qt for BBB:
i am able to see debian os on my display screen(even two to three folders also i am able to see)
Please post an screenshot or picture of that display, and state if such display is attached to the board OR if the display of your laptop you connect to your device.
-
@Asha said in cross compiled qt for BBB:
debian desktop
There is no such thing. Debian is a Linux distribution and can be used with many different desktops and window manager.
What doesps -e | grep X
output?
-
-
@Asha said in cross compiled qt for BBB:
while running that command in beagleboneboard(via ssh) not getting anything..
when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
You need to find out what is used on your device. Could be directfb for example. -
@jsulm said in cross compiled qt for BBB:
you're running this command when the graphical desktop is shown?
no,
I run that command without the connecting display..
ps -e | grep Xthis command displays all process status which are running right..
one more thing I want to clear,
"I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"
but
"without sdcard, I am executing the qt application ,then its asking
Qvnc server created on port 5900"
when I execute the VNC software in my host machine, I am able to see the output..
-
@Asha said in cross compiled qt for BBB:
no,
Then make sure your display is connected and you can see graphical desktop and then run the command...
-
@Asha said in cross compiled qt for BBB:
so what it means?
So, now X server is running. But your app doesn't start, right?
You get "Qxcb connection:could not connect to the display"?
Do you start your app as root or normal user? -
-
@jsulm said in cross compiled qt for BBB:
You get "Qxcb connection:could not connect to the display"?
yes
Do you start your app as a root
this means ,first i need to do
ssh debian@192.168.7.2
after this sudo suroot@beaglebone:
now I need to run the application right?
but what about that normal user?
I need to run it on my Desktop machine?
without ssh? -
@Asha said in cross compiled qt for BBB:
after this sudo su
NO! You should not start it as root.
Can you connect a keyboard to your device and start directly there without SSH.
-
@Asha said in cross compiled qt for BBB:
Ok, after millions of posts we finally reach the point where you stated how you're starting the application in the board...
It looks like you're NOT forwarding the X display. Please try connecting to the board this way:
ssh -X debian@192.168.7.2
and then proceed as you've been doing to start the Qt app
-
while connecting as you said above ,
getting the result
s
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
./animatedtiles: relocation error: ./animatedtiles: symbol _ZN18QRandomGenerator646globalEv, version Qt_5 not defined in file libQt5Core.so.5 with link time reference -
I have those libraries in usr lib directory
root@beaglebone:find / -name libGLESv2* -type f
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
root@beaglebone: find / -name libEGL* -type f
/usr/lib/arm-linux-gnueabihf/libEGL_mesa.so.0.0.0
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0@jsulm said in cross compiled qt for BBB:
Looks like you have different Qt version on your device than the one you cross compiled.
how do I found,which version qt is running on my device?
-
this is the result:
debian@beaglebone:~/Qt5/examples/widgets/animation/animatedtiles$ ldd ./animatedtiles
linux-vdso.so.1 (0xbeffe000)
libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0xb6b07000)
libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0xb67dd000)
libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0xb6469000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6445000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb642f000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb641c000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6310000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6298000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb626f000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6181000)
libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0xb6163000)
/lib/ld-linux-armhf.so.3 (0xb6f44000)
libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb60e7000)
libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb60c5000)
libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb6095000)
libicui18n.so.57 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.57 (0xb5ee8000)
libicuuc.so.57 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.57 (0xb5dbf000)
libpcre16.so.3 => /usr/lib/arm-linux-gnueabihf/libpcre16.so.3 (0xb5d67000)
libdouble-conversion.so.1 => /usr/lib/arm-linux-gnueabihf/libdouble-conversion.so.1 (0xb5d49000)
libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb5c6e000)
libGLdispatch.so.0 => /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xb5bf0000)
libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb5b77000)
libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb5b4c000)
libicudata.so.57 => /usr/lib/arm-linux-gnueabihf/libicudata.so.57 (0xb42bf000)
libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb4260000)In this libEGL library missing ,how do I solve this ?