Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Beginner]
Forum Updated to NodeBB v4.3 + New Features

I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Beginner]

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.0k Views 2 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by aha_1980
    #1

    how can i Use VirtualKeyboard?

    .cpp

    qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
    

    .pro
    static {
    QT += svg
    QTPLUGIN += qtvirtualkeyboardplugin
    }

    disable-xcb {
    message("The disable-xcb option has been deprecated. Please use disable-desktop instead.")
    CONFIG += disable-desktop
    }
    CONFIG += link_pkgconfig

    but i Can't Showing Virtual Keyboard.. to Clicked editer

    In Windows Case(QWidget Based) using well..
    but Can't use Raspberry PI3(B)

    help plz :(

    raven-worxR 1 Reply Last reply
    0
    • ? A Former User

      how can i Use VirtualKeyboard?

      .cpp

      qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
      

      .pro
      static {
      QT += svg
      QTPLUGIN += qtvirtualkeyboardplugin
      }

      disable-xcb {
      message("The disable-xcb option has been deprecated. Please use disable-desktop instead.")
      CONFIG += disable-desktop
      }
      CONFIG += link_pkgconfig

      but i Can't Showing Virtual Keyboard.. to Clicked editer

      In Windows Case(QWidget Based) using well..
      but Can't use Raspberry PI3(B)

      help plz :(

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @dont-do-that said in I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Begginer]:

      qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this

      where did you put this exactly? Before the creation of your QApplication instance?

      what Qt version.
      what WindowManager/Desktop is running on your pi?
      Did you create a InputPanel element in your QML app?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      ? 1 Reply Last reply
      2
      • raven-worxR raven-worx

        @dont-do-that said in I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Begginer]:

        qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this

        where did you put this exactly? Before the creation of your QApplication instance?

        what Qt version.
        what WindowManager/Desktop is running on your pi?
        Did you create a InputPanel element in your QML app?

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @raven-worx

        int main(int argc, char *argv[])
        {
        qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
        QApplication a(argc, argv);
        MainWindow w;
        w.show();

        return a.exec();
        

        }

        1 Reply Last reply
        0
        • F Offline
          F Offline
          Foufy
          wrote on last edited by
          #4

          same problem, any idea? The stranger is that the VirtualKeyboardBasic exemple is working

          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