Running standalone QT application

Satk
Did the following to run my standalone application on QT, without loading
"/bin/qtopia". Using mini2440 with kernel 2.6.32 and QT 2.2.0.

1. Edit "/etc/init.d/rcS"
- Commented "/bin/qtopia &"
- inserted paths and exports as below
export QPEDIR=/opt/Qtopia
export QTDIR=/opt/Qtopia
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=/opt/Qtopia/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- Inserted following to execute my application
$QPEDIR/bin/trial -qws &

2. Saved "/etc/init.d/rcS" and then rebooted mini2440.

3. Now the display shows the screen as desired. But nothing happens when I
tried to click any icons.

4. This happens even if I replace "trial" with any other application (like
filebrowser) supplied with mini2440.

5. Application "trial" works when clicked from desktop on mini2440, when
"/bin/qtopia &" is not commented "$QPEDIR/bin/trial -qws &" is not inserted
in the "rcS" file.


I am unable to understand why the touchpad is not working.

Please help.

Thanks & best regards

Satish

flux000
Satk

I configure my mini2440 to use the tslib and put the following in
/etc/profile

export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/usr/local/tslib/etc/pointercal
export TSLIB_CONFFILE=/usr/local/tslib/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts
export QWS_MOUSE_PROTO=tslib:/dev/input/event0

This works for me.

flux000

Tatsuya
Hi all

I'd like to make standalone applications.
I execute sample programs like Satk.
(kernel and qt version are same.)

The difference is only application program.
I used simple sample program "hello" or tutorial "t1".

I made sure that they work well on qtopia.

But I couldn't see anything on LCD.

Do I need specific code in standalone application?

Does anyone have advices?
Thank you.

Tatsuya.

skip2816
http://upload.newroomschat.com/upload/index.php?action=downloadfile&...