cross compiled qt for BBB
-
So you did not copy the libraries at the exact same place on your device ?
Your system installed Qt is picked before the one you copied.
So one solution is to call:
LD_LIBRARY_PATH=/path/to/your/cross-compiled_qt/lib ./YOUR_EXECUTABLE_NAME
. -
@Asha said in cross compiled qt for BBB:
means directly in my device only
Your app definitely uses wrong Qt libs.
You have to copy the Qt libs into same directory you specified in -prefix. In your case /home/debian/Qt5.
If this is the case then try following to start your app on device:cd DIR_WHERE_YOUR_APP_IS export LD_LIBRARY_PATH=/home/debian/Qt5 ./YOUR_APP
-
now at present I don't have my display,
but while giving this
@jsulm said in cross compiled qt for BBB:
cd DIR_WHERE_YOUR_APP_IS
export LD_LIBRARY_PATH=/home/debian/Qt5
./YOUR_APPI am getting the output in my laptop,it just blinking for a second..
If I connect my display, and then I execute as you told,then can I get the result in my display?
-
@Asha said in cross compiled qt for BBB:
If I connect my display, and then I execute as you told,then can I get the result in my display?
If nothing else is wrong then yes
-
@Asha said in cross compiled qt for BBB:
getting output in my laptop
Did you redirect the output as @Pablo-J-Rogina suggested before?
If so then do not redirect, just make sure you see graphical desktop on the display. -
@jsulm said in cross compiled qt for BBB:
Did you redirect the output as @Pablo-J-Rogina suggested before?
i am not understand this one,what your trying to ask?
i burned new image in my sdcard,and i put that sdcard into the BBB after that trying to execute this qt applications,
while trying with
ssh debian@192.168.7.2
getting Qxcb errorAnd trying with
ssh -X debian@192.168.7.2
getting this with displaying the output in laptop
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
QXcbConnection: XCB error: 1 (BadRequest), sequence: 405, resource id: 220, major code: 154 (Unknown), minor code: 1 -
@Asha said in cross compiled qt for BBB:
but why not getting by the laptop(via ssh)?
Because you seem not to forward the X display through the SSH connection.
how do I execute it by laptop?
I've already told you, see one of my previous posts.
In addition, you may want to read more about X forwarding, there's plenty of articles, for instance here. I won't post anymore about this issue remote display. -
@Pablo-J-Rogina said in cross compiled qt for BBB:
I've already told you, see one of my previous posts
I told him to not to do so because he wants to see the application on display connected to the device, not on the host.
-
@jsulm see:
@Asha said
through keyboard I am able to display the output on my display screen...
So it seems he's finally able to run the Qt app from the device. But he still insists as:
but why not getting by the laptop(via ssh)?
so indeed he's driving us crazy as he doesn't know what his requirements are... and we're trying our best to help him. Anyway.
-
@Pablo-J-Rogina said in cross compiled qt for BBB:
he's driving us crazy
no sir,not like that..I am very new to this..so I have doubts..
I am not getting how to execute qt application via laptop,so I asked..
Thanyou so much for you help..