Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I have qtopia-core-opensource-src-4.3.3 installed on my development host(PC).I intend to compile code on the PC and run the same on an ARM9 board (ts7300)which has qt-embedded-free-3.3.4 installed.I have a sample program:
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
hello.show();
return app.exec();
}
When I compile the above program on the PC it compiles well but when I try to execute on the board I get the following error
./main: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directy
What could be the problem?Do I need to install something else on the board?
In my Qtopia manual there is no mentioning of qt-embedded-free. How did you get it and install it?
Also the numbering 3.3.4 looks to me like a old version, replaced by Qtopia 4.3.3 or something.
In my case (ARM9 as well) I did copy the cross-compiled QtCore and QtGui libraries to target, as well my uClibc libraries but ran out of RAM after unzipping. Have yet to find a workaround for this.
If you have more RAM on your target system then you should be able to install all the libraries mentioned.
I am interested to hear about your result.
In my Qtopia manual there is no mentioning of qt-embedded-free. How did you get it and install it?
Also the numbering 3.3.4 looks to me like a old version, replaced by Qtopia 4.3.3 or something.
In my case (ARM9 as well) I did copy the cross-compiled QtCore and QtGui libraries to target, as well my uClibc libraries but ran out of RAM after unzipping. Have yet to find a workaround for this.
If you have more RAM on your target system then you should be able to install all the libraries mentioned.
I am interested to hear about your result.
Hi Rojak,
Pleased to hear from you.Well I am using TS7300 here which we purchased from Technologic Systems.These guys provided me the qt-embedded-free ... file but that file is a reduced version of Qt and is not of much use to me right now as I have linked my executable in Qt4.3.3.I n any case I am trying to install Qt4.3.3 on the board.Yeah you are right t3.3.2 is older version of Qt4.3.3 and somehow they are not compatible...probably this explains my frustration right now.
Qt 4.3.3 open source tar file is a 50 MB file.I am not able to transfer on to the board.Can you please suggest some other method to install it on the board(or some other source which you have used)?I have 8MB on chip flash,512 MB SDcard and 32 MB SDRAM(expansible through PCMCIA slot).
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to Linux Questions.
Assuming you have the cross tools to compile
for "arm" you can compile the libs for the
arm - board.
'libQtGui.so.4' is about 7 MB,
for a standard Qt4, could be a problem !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.