[Qt-interest] error in running the program

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Jan 21 05:46:59 CET 2011


On Thu, Jan 20, 2011 at 11:38 PM, piyush pandey
<piyushispandey07 at gmail.com> wrote:
> Hello Guy

Who's he? ;)

> ln -s /udisk/build  /opt/Qt/

You should be linking to the "install" folder (/opt/Qt/install) and
not the "build" folder.
>
> # ./quit_program
>
> QWSDisplay::Data::init: invalid argument
> Client can't attach to main ram memory.
> Aborted
> #

You need to start the program with the -qws option:

$ ./quit_program -qws

You can optionally use "-mouse" and "-keyboard" if your app uses these
2 devices.

>
> So what's this all about and how I can get rid of
> this.................:)

Embedded platforms usually do not have window managers (like X server
on Linux desktops) which are needed for the actual painting on to your
platform display device and doing window management etc.

So, for such platforms, Qt uses its own windowing system (QWS) which
works on top of the frame buffer device to do the actual painting and
window mgmt. Read more about it here:

http://qt.nokia.com/products/platform/qt-for-embedded-linux/

HTH,
-mandeep

>
> Thank you
>
> Piyush Pandey
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>



More information about the Qt-interest-old mailing list