Ok I did the same with a clean environment ! Now when I build I have this error : c:command not found and always this one too : Cannot read /opt/poky/2.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory Just to be sure I have to put in the qtcreator.sh this line before the #! /bin/sh: source /opt/poky/2.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
Hi graugans, Any advance on your side? For my part I did some modifications : First in the qtcreator.sh I add the qmake variable I follow this tuto http://wiki.wandboard.org/index.php/Setup_QT_creator_for_developing_QT_apps_on_wandboard I also modify the qmake.conf on location /home/pierre/Qt/5.6/Src/qtbase/mkspecs/linux-arm-gnueabi-g++ I just put the complete path for compiler of toolchain. My first errors is no longer display but now Qt said "Failed to start program. Path or permissions wrong?" Any ideas?
Finally it's work on my udoo not on my pc but no matters for now ! The new problem is that when I try to build the serialbus example the library libQt5SerialBus.so.5 is not found.. Where can I download just the .so file because I don't want install Qt on my board!
It's good I can cross-compile !! Thank you very much for your help! One last question my wifi doesn't works with the image I have on interface file the line "iface wlan0 inet dhcp" but no connections.. Any idea?
Regarding WiFi you'll find Info's here: http://www.udoo.org/forum/threads/openembedded-yocto-on-udoo-boards.2965/ on second posting Gesendet von meinem FP2 mit Tapatalk
Hi, So everything work fine thanks for your help graugans! I can launch the qserialbus example on my udoo board but now I have some new issues.. First when I connect the board : "SocketCanBackend: No such configuration as 4 in SocketCanBackend" Cannot apply parameter: QCanBusDevice::ConfigurationKey(BitRateKey) with value: QVariant(int, 500000) And after few frames send I get the following error : "No buffer space available" Futhermore I don't receive the frame send by the board on my pc and my pc doesn't receive the frame send from the board.. Thanks in advance for your help
Ok but I thought Modjo have already succeed, are you in contact with him? Do you think you will test this part soon?
@Sassus-Barouda, with linux and socket CAN you cannot configure the bitrate... with qt, you need to do that before on a shell (or with QProcess) to configure your CAN device, see here : http://www.udoo.org/forum/threads/canopen-communication-with-qt-on-udoo-neo.3709/#post-17857. To make a test, use at first the command line to test if you receive CAN message with ifconfig , candump ... After that test with Qt.
Yes I already follow this tuto and I succeed with the udoobuntu distribution. So with poky distriution I launch a command prompt with putty on my pc and dump the frame with a second user and with udoo I send a frame as root. The result is positive but no way with no loopback Thanks for your answer
You can login with another ssh session to the board to get another shell or use screen inside the first session. https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/ I hope screen is part of qt image Gesendet von meinem FP2 mit Tapatalk
Another option is to use the network interface set-up https://github.com/modbas/meta-modb...nit-ifupdown/init-ifupdown/udooneo/interfaces Gesendet von meinem FP2 mit Tapatalk
Hi, Screen is not a part of Qt image unfortunately but I dit it with another ssh session see my previous post. But no result when I try to send frame to another client
see after a class that i create to use CAN on NEO : QCan.h and QCan.cpp Let me know if it can help you
I create a new Qt projet with that classe ? Why use this classe, the QSerialBus class is not working on Neo? Thanks for your help
I didn't rewrite QserialBus, it just to show you how i use this class with QProcess to use CAN on NEO. And yes you could create a new project with this class !