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. QML: why multi lines 'PlatformInputContext::update()' displayed in debug output
Forum Updated to NodeBB v4.3 + New Features

QML: why multi lines 'PlatformInputContext::update()' displayed in debug output

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 150 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.
  • N Offline
    N Offline
    nathan1986
    wrote on last edited by nathan1986
    #1

    I'm updating one HMI embeded system using QML based on QT5.9 with virtualkeyboard plugin. Now every time main() start, the debug console will output multi lines indicate inputcontext update. and when i do some operate on the screen. it also displayed many tips about "PlatformInputContext::update()". who can tell me is something wrong and how to avoid it: the output message show:

    // main.qml message output

    ======> desktop is already started 
    
    stdin: is not a tty
    
    File logger created. thread ID : 0x75b64000
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    getInstance
    new a Mayconfig
    getInstance end
    configs=0x12964f0
    
    wifi is detected
    hotplug thread new
    netlink status change
    
    getInstance
    getInstance end
    
    
    my tcpserver start
    
    
    **setInputContext,step 001: 14c3fc8
    InputEngine::InputEngine, Step001, inputContext:0x14c3fc8
    InputEngine::InputEngine, Step002
    InputEngine::InputEngine, Step003**
    
    
    ResetCounter()
    Serial3 initilized
    serial1 initialized
    -------------------------------------
    
    qml: main.qml completed
    QIODevice::write (QSerialPort): device not open
    QIODevice::write (QSerialPort): device not open
    
    
    qml: checkFWtimer.start()
    qml: Usbprint.qml completed
    
    qml: initDatabase_set()
    
    
    
    
    **qml: scale in remotecontrol 1.25 1.33
    InputContext::setLocale(): "en_GB"
    PlatformInputContext::setLocale(): QLocale(English, Latin, UnitedKingdom)
    InputEngine::update, step 002
    InputContext, step2, emit localeChange() "en_GB"
    InputContext::setLocale(): "en_GB"
    InputContext::setLocale(): "en_GB"**
    
    qml: fwVersion when checkFWtimer.stop(): PRO610
    QIODevice::write (QSerialPort): device not open
    qml: U0
    QIODevice::write (QSerialPort): device not open
    qml: U4
    QIODevice::write (QSerialPort): device not open
    qml: U13
    QIODevice::write (QSerialPort): device not open
    qml: M582
    
    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