Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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
    

Log in to reply