[TUTO] Build Qt to cross compile for arm
-
Hello (ou plutôt bonjour ;) )
After QT is configured, installed, everything is configured in QT creator and i make an application.
Can i simply copy/paste it in the bin folder of my embedded device or must i copy first some libraries or others stuff on the device ? I tried your tuto and had no problem (aside from a very slow "make"...). I went in QT creator and created a single QT widget application (a window with a button launching a message box), it built in the release folder. But when trying to run it on my board with a ./nameofthefile (and with chmod 755 it) i have an error "applet not found" which make me think either i am missing things on my board or i needed to add somethign to the configuration.Still thank you for this help !
-
@wowy
HelloIn my case after compiling the app, i copied it on my pcDuino, I didn't have the same problem than you but another one, i've no interface, my application is started ( a tcpclient that connect to a tcpserver over internet ) i receive it's connection on the PC that run the tcp server. But at the launch of the app it prints me two things, the first one libicui18n.so.48 cannot open shared object file no such file or directory and another one releving to DBUS.
EDIT : Those problems don't come from a bad compilation but from the pcDuino itself, don't worry this tuto is functionnal.
I'm sorry i can't help you on that point, and i'll only can get back to work on the pcDuino by monday or tuesday next week to solve these 2 problems.
I only can advice you to google the message the executable prints you.
I've made a quick research online for you, it seems to be some problem with the PATH or with some links, i'm sorry i can't help on that, i'll edit my main post by next week with my solution for the pcDuino problems.Hope you'll find a solution asap.
Au revoir ;)
-
I am sorry to bother you guys but I'm trying to follow this tutorial and I get stuck in the next part:
./configure -opensource...
I get the following message: "make: g++: Command not found" AND "make: *** [project.o] Error 127
I am currently working on a ubuntu 64 bits Machine mounted on VirtualBox and my target is a BeagleBone Black running Debian. Take it as if I had no knowledge what so ever because it is practically that way. Any advice that you could give me is greatly appreciated.Thank you.
-
I have follow all the steps...and i am able to create a makefile for arm architecture...but getting error in make...i am working on qt5.5
-
@citiustech Hi! What is the error you get?
-
do you have any steps for cross compile qt5.5 for arm
-
QOpenglwidget file is included in my application..it is build on qt5.5. but giving file error while make using QT4.8 that QOpenGLWidget no such file.
-
Hi,
That's because QOpenGLWidget is a new class of Qt 5. Qt 4 has QGLWidget.
-
Thank for your valueable reply
-
i am trying to build qt5.5 for arm but getting error while build.
i am using ./configue -xplatform inux-arm-gnueabi-g++ command. it gives openssl error. openssl.h no such file?can you please suggest
-
Unless you specified that you want OpenSSL support it should not stop the build. If you want OpenSSL support then you need to provide that dependencies for your target.
-
DO you have any Build steps like QT4.8.5 for QT5.5?
-
That usually depends partly on the device you are targeting.
-
i am cross compiling qt for cubieboard 4.
can you please suggest me ./configure command ? -
I don't know this board but a quick search returns this blog entry which step 4 is likely what you are looking for to get started.
-
Hello. The above solution is working fine for no-opengl.
once opengl es2 enable for cross compile it gives opengl functionality test failed error. i have copied all the GL/GLES2 file from arm board to ubuntu pc and edit qmake.conf file. but it gives the same error.
how to cross compile qt for arm with opengl. can you please suggest? -
The headers are not enough, did you also copied the libraries ?