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. qmlscene not found VirtualKeyboard
Forum Updated to NodeBB v4.3 + New Features

qmlscene not found VirtualKeyboard

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 587 Views 1 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.
  • P Offline
    P Offline
    poucz
    wrote on last edited by
    #1

    Hello,
    I used qmlscene for preview my qml code.
    But qmlscene cannot find VirtualKeyboard

    module "QtQuick.VirtualKeyboard.Plugins" is not installed
    

    When I run my program, every thing is OK - VirtualKeyboard is desplayed corectly.

    So I tryed use parameter -I and -P and environment variable:
    Without success.
    Do you have some advice?

    Than you.

    OPTION="-I /media/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/"
    OPTION="${OPTION} -P/media/pou/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/ "
    export QML_IMPORT_PATH="/media/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so"
    export QML2_IMPORT_PATH=${QML_IMPORT_PATH}
    export QT_PLUGIN_PATH=${QML_IMPORT_PATH}
    
    raven-worxR 1 Reply Last reply
    0
    • P poucz

      Hello,
      I used qmlscene for preview my qml code.
      But qmlscene cannot find VirtualKeyboard

      module "QtQuick.VirtualKeyboard.Plugins" is not installed
      

      When I run my program, every thing is OK - VirtualKeyboard is desplayed corectly.

      So I tryed use parameter -I and -P and environment variable:
      Without success.
      Do you have some advice?

      Than you.

      OPTION="-I /media/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/"
      OPTION="${OPTION} -P/media/pou/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/ "
      export QML_IMPORT_PATH="/media/data/qt/QT5.12/5.15.0/gcc_64/qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so"
      export QML2_IMPORT_PATH=${QML_IMPORT_PATH}
      export QT_PLUGIN_PATH=${QML_IMPORT_PATH}
      
      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @poucz
      you actually only need QT_IM_MODULE=qtvirtualkeyboard env variable. Remove the other variables you set.
      If your app can load all other imports no further changes are needed.

      --- 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
      • P Offline
        P Offline
        poucz
        wrote on last edited by
        #3

        Yes it works great, thank you very much

        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