Hi All,
I cross compiled qt/Embedded for my ARM11 board using ltib.
It has compiled fine.
Even i cross compiled a small helloworld application for ARM11.
When i run my application it is giving following error message.
1.My programm.
#include <qapplication.h>
#include <qlabel.h>
int main( int argc, char* argv[] )
{
myapp.setMainWidget( mylabel );
mylabel->show();
return myapp.exec();
}
#include <qapplication.h>
#include <qlabel.h>
int main( int argc, char* argv[] )
{
QApplication myapp( argc, argv );
QLabel* mylabel = new QLabel( "Hello world", 0 );
myapp.setMainWidget( mylabel );
mylabel->show();
return myapp.exec();
}
To copy to clipboard, switch view to plain text mode
I crosscompiled using
arm-linux-g++ -Wall -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include -L/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/lib -lqte -ljpeg -o hello main.cpp
When i run
./hello -qws on target system it is giving following error
could not read calibration : /etc/pointercal
segmentation fault.
Infact i made QTDIR and LD_LIBRARY_PATH to point qtdirectory and qtlibs respectively.
Any thing i need to do before running my application.
Thanks in advance,
Regards,
Harsha
Bookmarks