Results 1 to 2 of 2

Thread: Virtual terminals with Qt Embedded

  1. #1
    Join Date
    Jun 2007
    Posts
    56
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Virtual terminals with Qt Embedded

    I tried posting this in the Qt Embedded forum but no one has responded so I thought I'd try here.

    I'm using Qt-Embedded 4.5.1 on Linux using the vesafb frame buffer on an intel platform under BusyBox.

    When the system boots, my application starts on the console from a line in /etc/inittab as...
    Qt Code:
    1. ::once:-/bin/sh -c "/path/app -qws"
    To copy to clipboard, switch view to plain text mode 

    I have the QWS_KEYBOARD set in /etc/profile as
    Qt Code:
    1. export QWS_KEYBOARD="TTY:/dev/tty0"
    To copy to clipboard, switch view to plain text mode 

    The problem is that I can't switch to other virtual terminals using CTRL+ALT+F* while my application is running, or after my application exits. Any help would be appreciated.

    -Mic

  2. #2
    Join Date
    Dec 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Virtual terminals with Qt Embedded

    If your application is the only one running in that terminal and you do not have getty (the login manager for the terminal), then you will need to switch between terminals through your application.

    There a sysvinit scripts that will create the terminals for you and provide you with the ability you are looking for.

    I might be totally mis-reading your question, but I think that is what your looking for. Let me know.

Similar Threads

  1. Switching between virtual terminals while Qt application running
    By Micawber in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th January 2010, 11:21
  2. Qt Embedded
    By lixo1 in forum Newbie
    Replies: 4
    Last Post: 2nd March 2009, 17:24
  3. Q3ScrollView resists to scroll down to the garbage bin
    By sivrisinek in forum Qt Programming
    Replies: 0
    Last Post: 5th February 2009, 17:50
  4. Frame buffer background during splash screen
    By Micawber in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 23rd January 2009, 19:38
  5. Cost of pure virtual
    By ShaChris23 in forum General Programming
    Replies: 4
    Last Post: 4th November 2007, 18:20

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.