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 which has qt-embedded-free-3.3.4 installed.I have a sample program:
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
hello.resize(100, 30);
hello.show();
return app.exec();
}
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
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?
My board is running on Debain Linux and my PC on Fedora 6
Thanks in advance
Ramandeep
Bookmarks