Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [solved] Qt writes to /dev/tty0
Forum Updated to NodeBB v4.3 + New Features

[solved] Qt writes to /dev/tty0

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 1 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    incogn1to
    wrote on last edited by
    #1

    Qt opens /dev/tty0 with echo enabled. As a result keystrokes are visible on screen buffer.
    @stty -F /dev/tty0 -echo @

    Solves the problem until application restart. Is there a way to force Qt to open /dev/tty0 with echo disabled? Or to disable console output stream to screen buffer? I found this topic with similar problem: http://qt-project.org/forums/viewthread/4778 but compiling QT with -qt-kbd-tty doesn't solve the problem.
    Any suggestions?
    Qt: 4.8.1
    Embeded Linux system

    [upd]
    Even if I setup “QWS_KEYBOARD” environment to “TTY:/dev/null” – keyboard stops working but echo is still active and visible on screen.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      incogn1to
      wrote on last edited by
      #2

      Even if I setup "QWS_KEYBOARD" environment to "TTY:/dev/null" - keyboard stops working but echo is still active and visible on screen.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        incogn1to
        wrote on last edited by
        #3

        Solution: Can be done by setting environment QWS_DISPLAY to "LinuxFb:tty=/dev/null"

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved