PDA

View Full Version : Why some application needs server(-qws)



nrabara
17th December 2009, 13:01
Hi,

I really don't understand why few application need server to start execution.

For example,

If i don't have any qt application running as server on my board than first qt application I need to start as server.
i,e ./myAppl -qws &
than i can run other qt application as ./secondAppl without specified as server.

OK.....

But Even though I run my first application as server( ./myAppl -qws) it show following errors.


QWSocket::ConnectToLocalFile could not connect:: Connection refused
No Qt for embedded linux server appears to be running.
If you want to run this program as a server add the "-qws" command-line option.


So to start my application I need to run some other application as server.
Why can't I start my application as server?

All suggestions/input would be a help for me..

Thanks in advance