Fw: ARM Linux kérdés

Hofferek Attila hofi at soka.co.hu
Wed May 17 09:54:11 CEST 2006


Hello!

Bali Zoltan wrote:
> " There are some sample applications that use Qt.  For these samples, several
> environment variables control the behavior of Qt:
> 
>     QWS_DISPLAY
> 
>         This environment variable (if set) will choose the video driver that
>         will be used; the EP93xx driver is the default (as set in /etc/profile
>         on the ramdisk).  If this environment variable is not set, then the
>         standard linux framebuffer driver will be used.  The valid values are:
> 
>             LinuxFb:/dev/fb0            - the Linux framebuffer driver
>             EP93xx:/dev/fb0             - the EP93xx accelerated driver
>             Transformed:/dev/fb0:Rot90  - the EP93xx accelerated driver with
>                                           the screen rotated 90 degrees
>             Transformed:/dev/fb0:Rot180 - the EP93xx accelerated driver with
>                                           the screen rotated 180 degrees
>             Transformed:/dev/fb0:Rot270 - the EP93xx accelerated driver with
>                                           the screen rotated 270 degrees
> 
>         The "-display <display>" command line argument can be used in place of,
>         or to override, this environment variable.
> 
>     QWS_MOUSE_PROTO
> 
>         This environment variable will choose between using a mouse or the
>         touch screen for the pointer device; the touch screen is the default
>         (as set in /etc/profile on the ramdisk).  The valid values are:
> 
>             Microsoft:/dev/input/mouse0    - a Microsoft-compatible mouse
>             IntelliMouse:/dev/input/mouse0 - an IntelliMouse-compatible mouse
>             TPanel:/dev/misc/ep93xx_ts     - the touch screen
>             IntelliMouse:/dev/lircm        - an infrared remote
> 
>         If using a mouse on /dev/input/mouse0, be sure to kill the gpm
>         application first ("killall gpm") or gpm will get all the mouse input
>         instead of the Qt demo.
> 
>     QWS_SW_CURSOR
> 
>         This environment variable controls whether a software or hardware
>         cursor will be used.  If a cursor is not needed at all (such as when
>         using the touch screen as the mouse), then there is no cursor at all.
>         Otherwise, this will choose between a software and a hardware (if
>         available) cursor.  The valid values are:
> 
>             0 - to use a hardware cursor
>             1 - to use a software cursor
> 
>         The "-noswcursor" and "-swcursor" command line arguments can be used in
>         place of, or to override, this environment variable.
^^^^^^^^^^^^^^^^^^^^ Ezekkel tudod a qt mukodeset befolyasolni a lirtak
szerint.


> 
> The demos available are:
> 
>     canvas
>     dragdrop
>     drawdemo
>     drawlines
>     helpviewer
>     i18n
>     launcher
>     qmag
>     qwerty
>     rot13
>     scribble
> 
> For each of these demos, you must first go to the "/usr/qt/examples/<name>"
> directory and then run the demo.  The "-qws" argument must be given to the demo
> to get it to start the window server; if running more than one demo
> simultaneously, this argument is only needed for the first demo run.  If not
> run from the virtual console (i.e. not over a serial or telnet connection), the
> keyboard will not work.  Since there is no window manager in use by these
> demos, the minimize button on the windows will not do anything.  See the Qt
> documentation for details of each of these demos. "
Ez itt a lenyeg, ennek megfeleloen jarj el.
Vagy esetleg nem erted ami le van irva, forditsam le?

-- 
Hofferek Attila




More information about the Elektro mailing list