i created QT4 application for my mini2440 ,a simple GUI application. i am able to run this application using "hello -qws" i want to run this application at the startup of device for this i edited /etc/init.d/rcS and add hello -qws in it. but gives error like bin/hello: error while loading shared libraries: libts-1.0.so.0: cannot open sha red object file: No such file or directory whats going wrong???
qt4 application at startup
I suspect that it never ran during your tests. Did you cross-compile Tslib BEFORE cross-compiling Qt?
Hello dave, yes i cross-compile Tslib before cross-compiling Qt. whenever i used to run my application with terminal it works. my tslib is under /usr/local/tslib
From memory you need a & at the end. If you look in /etc/init.d/rcS in the early Qtopia rootfs I recall that being done.
Maybe this thread helps: http://billforums.station51.net/viewtopic.php?f=8&t=15
> whenever i used to run my application with terminal it works. Just need to check this statement means, whenever I run the application on the target from a terminal program on the host it works. Correct? Which tutorial are you following? Maybe, show your environment variables.
>I run the application on the target from a terminal program on the host it works. Correct? YES i not remember the link of tutorial but my configuration cmd is as ./configure -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/qt -qt-mouse-tslib -little-endian -no-webkit -no-qt3support -no-cups -no-largefile -optimized-qmake -no-openssl -nomake tools -qt-display-transformed
http://billforums.station51.net/viewtopic.php?f=5&t=55 solve my problem