Results 1 to 4 of 4

Thread: QTVirtualKeyboard InputMethod issue

  1. #1
    Join Date
    Oct 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default QTVirtualKeyboard InputMethod issue

    i am loading the keyboard.qml in QQuickView and then add it to a widget, but when I click on any key i got a warning input method is not set.
    I looked at the documentation and it did not show how to create a custom input method, I want to override the keyEvent and write my logic there.

    QQuickView view(QString("qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml"));
    if (view.status() == QQuickView::Error)
    return -1;
    view.setResizeMode(QQuickView::SizeRootObjectToVie w);


    QHBoxLayout *layout = new QHBoxLayout();
    layout->addWidget(w1);

    QWidget* w = new QWidget;
    w->setLayout(layout);
    w->show();

  2. #2
    Join Date
    Jun 2017
    Posts
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QTVirtualKeyboard InputMethod issue

    I am having the same problem with the QtVirtualKeyboard. I want to use it embedded into a QuickWidget. Did you succeed so far?

  3. #3
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTVirtualKeyboard InputMethod issue

    Quote Originally Posted by pvb View Post
    I am having the same problem with the QtVirtualKeyboard. I want to use it embedded into a QuickWidget. Did you succeed so far?
    Same bug: https://www.qtcentre.org/threads/691...973#post307973

    Any solutions yet?!

  4. #4
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTVirtualKeyboard InputMethod issue


Similar Threads

  1. QML Issue
    By Ashutosh in forum Qt Quick
    Replies: 1
    Last Post: 28th April 2015, 09:50
  2. Qt.inputMethod.show () doesn't show any keyboard
    By TheIndependentAquarius in forum Qt Quick
    Replies: 0
    Last Post: 23rd February 2015, 11:45
  3. XML issue
    By jbpvr in forum Qt Programming
    Replies: 1
    Last Post: 25th August 2008, 14:01
  4. UI issue.
    By kaushal_gaurav in forum Qt Programming
    Replies: 2
    Last Post: 13th August 2008, 12:41
  5. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 03:59

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.