Results 1 to 2 of 2

Thread: Switching between virtual terminals while Qt application running

  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 Switching between virtual terminals while Qt application running

    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
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Switching between virtual terminals while Qt application running

    I guess the problem is that your application directly writes into the framebuffer and "overwrites" the kernel's consoles. But thats just my theory. You could try a smaller window so that your application does not occupy the whole screen and see whether you can see the consoles underneath.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. QT3 application is not running on ARM Board
    By soumya in forum Qt for Embedded and Mobile
    Replies: 16
    Last Post: 20th July 2009, 10:13
  2. How to detect a running application
    By yogesh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2009, 10:22
  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. How to invoke a running application
    By srikanthch in forum Qt Programming
    Replies: 2
    Last Post: 18th December 2008, 15:42
  5. Replies: 10
    Last Post: 10th March 2008, 12:28

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.