BeagleBone Black, devices generic linux devices impossible to add?
I installed full toolchain for BeagleBone Black (BBB).
I'm able to build, send on BBB and run on BBB a qt gui software written in the console ( without the use of qt creator).
I want to do the same by using Qt creator now.
I would like to add a Generic linux device kit to automatically deploy on bbb and see in my Mint developpement PC the result off the execution.
Normally you can add a kit by my button Add in Device section is diable and i can't do it. There s only Local PC option.
Do I use the good version of QT ( QT Creator 3.0.1 based on qt 5.2.1) ?
How to enable the button to add it ?
Thanks alot, i'm little bit stucked now and i really need to continue my project with this nice qt tool.
Thanks a lot.
I succes to add the linux device by instaling the package in my linux mint :
Name of the package : qt creator-plugin-remotelinux
I success to set up the deploy, but now, at execution, i have an error:
connot connect to Xserver.
i would like to add the -X option when qt creator do the ssh connexion but i don't know where...
i try to execute directly with ssh -X terminal connexion and there is a strange error like :
./testqt1: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
If you have any idea , i' really interessted.
Hi and welcome to devnet,
Looks like you cross-compiled your application with a Qt 4 for Embedded Linux but you have a classic Qt 4 for X11 on your device. Is that so ?
As for the -X option, I'm not aware of the possibility to add options when Qt Creator does the connection.
Thanks a lot for your fast reply and your welcome.
Do you know how can i check the version on both side to compare and be sure that all is ok ? ( May be command line ? )
Concerning my setting, I followed the Method of Derek Molloy perfectly until the end :
From the looks of the guide, you have a Qt 4 for Embedded Linux so a version that runs without X. AFAIK, the one you have installed on your BBB is a classic X built Qt.
One thing you can do is to uninstall the Qt 4 you have on your BBB and copy the cross-compiled Qt 4 install directory at the exact same place on your BBB (you can always remove the unneeded stuff like header files later)
Cause the first time, i worked without cross compile.
I installed directly qt creator on the BBB and developed directly on it.
It was a little bit painful so i decided to cross compile. That mean on my beaglebone there is already a qt creator.
Just a question:
If i cross compile for BBB, does the BBB need something special to run a qt program like a JRE for Java?
What i don't understand is that making a main.cpp in my Mint console that shows a GUI window, build it and send via sftp to BBB and execute on BBB works fine, the window appear.
But when i use Qtcreator, i have the error.
- i have done another test, create a console project on qt creator and deploy it on BBB, it works.
Only GUI WITH Qt creator doesn't work :(, the most interested part lol.
- It will need the Qt libraries installed
- Are you sure you are using the same version of Qt for both ?
- QCoreApplication doesn't depend on any GUI stuff so there's nothing there to prevent it from running.
yes for sur, there is a mistake somewhere.
To be clean, i restart form scratch with a new virtual machine and by using qt 5 instead of qt4.
So sorry to not go until the end of this probleme, I'm focus on cross compil for qt 5 now.
Thanks every body for your help and see you for futur problem on qt5 :D