Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. The possibility of starting qt program before udev starts
Forum Updated to NodeBB v4.3 + New Features

The possibility of starting qt program before udev starts

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 186 Views
  • 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.
  • S Offline
    S Offline
    Silly Flame
    wrote on last edited by
    #1

    The operating system is Linux, and the display framework is Weston.
    To speed up Qt program startup, put Qt program startup script in the first place, and start other scripts such as udev after Qt program startup.
    The following problems occurred:
    The Qt virtual keyboard does not work properly.When the keyboard inputs, an error log "input method is not set" is printed.
    Try to modify the udev startup script and start before Qt starts:
    /sbin/udevd -d || { echo "FAIL"; exit 1; } ; udevadm trigger --action=add --name-match="/dev/input/event0"
    The problem is solved. It is preliminarily judged that the virtual keyboard initialization depends on udev and/dev/input/event0.
    Now, the question is, is there any way to make the Qt virtual keyboard work normally without starting the udev script in advance?

    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