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. Custom QPlatformInputContextPlugin gets not loaded on Mac
QtWS25 Last Chance

Custom QPlatformInputContextPlugin gets not loaded on Mac

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 2.4k 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.
  • T Offline
    T Offline
    th.thielemann
    wrote on last edited by
    #1

    I have a custom plugin derived from QPlatformInputContextPlugin.
    On both Linux (Ubuntu 12.04) and Mac (Mac OS X 10.9.3) I can build and deploy it. The plugin gets installed into MyQtInstall/plugins/platforminputcontexts/.
    I set env. variable QT_DEBUG_PLUGINS=1 to see debug output.

    On Linux the plugin is loaded as expected.

    On Mac the plugin is not loaded. There is no single message about the plugin.
    If I move the plugin to another plugin-folder (e.g. MyQtInstall/plugins/platforms/) within the debug output I see that the plugin is loaded (but can not be used because it is the wrong subfolder). So it seems the plugin is o.k. but Qt on Mac does not consider plugins/platforminputcontexts/.

    My questions: What is necessary to load a plugin from plugins/platforminputcontexts/ on Mac?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Good question, can you share a minimal example implementation to try ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        th.thielemann
        wrote on last edited by
        #3

        I started with this plugin:
        http://quickgit.kde.org/?p=scratch/tolszak/MockupVirtualKeyboard.git

        By the way: On my embedded device, the plugin has to be under /home/plugin/platforminputcontexts.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Ok, so the short answer is: currently on OS X there's nothing done to load custom platform input context. So if you think that something you would need, you should go on the "bug report system":http://bugreports.qt-project.org and check if this as already been mentioned, if not, you should open a new feature request

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Vinoth
            wrote on last edited by
            #5

            Hi,

            I am trying to include a custom platform input context plugin( virtual keyboard) for my embedded device. It works on Linux (Ubuntu).

            I am facing the same problem (platforminputcontexts folder not searched for plugins ) on my Embedded device. The QPA platform is wayland. Qt version is 5.3.1. Can you tell me if this is expected? Any chance I could make this work?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              I've answered on your thread here.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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