Hello everybody.
I am writing to you with such a problem, we are using the version of QT 5.5 so far and VirtualKeyboard is used as a separately compiled module.
After that, you can add a line to the application
qputenv(“QT_IM_MODULE”, QByteArray(“qtvirtualkeyboard”));
and the VirtualKeyboard is running.
The question is, what to do in the cases of the package?
I see such a mistake.
qrc:/qml/home/main-keyboard.qml:17 module “QtQuick.Enterprise.VirtualKeyboard” is not installed
If I run app normally through scripts without a snap, everything starts without problems.
I do not know what to do in snap with this module.
I would be grateful for help.
My snapcraft.yaml
name: bsp095project
version: "1.0"
summary: timer
description: |
Application for medical testing
confinement: devmode
grade: devel
architectures: [amd64]
apps:
BSP095launcherCoreSimulation:
command: bin/run.sh $SNAP/bin/start_CORE_simulation.sh
plugs: ['home', 'x11', 'opengl', 'gsettings', 'raw-usb', 'serial-port', 'network']
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/Simulation:$LD_LIBRARY_PATH
BSP095launcherCore:
command: bin/run.sh $SNAP/bin/start_CORE_hardware.sh
plugs: ['home', 'x11', 'opengl', 'gsettings', 'raw-usb', 'serial-port', 'network']
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/CommProtV200:$LD_LIBRARY_PATH
BSP095launcherCoreDaemon:
command: bin/run.sh $SNAP/bin/start_CORE_hardware.sh --start
daemon: simple
stop-command: bin/run.sh $SNAP/bin/start_CORE_hardware.sh --stop
stop-timeout: 10s
plugs: ['home', 'x11', 'opengl', 'gsettings', 'raw-usb', 'serial-port', 'network']
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/CommProtV200:$LD_LIBRARY_PATH
BSP095launcherGui:
command: bin/run.sh $SNAP/bin/start_GUI.sh
plugs: ['home', 'x11', 'opengl', 'gsettings', 'pulseaudio', 'network']
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
BSP095launcherMaintenance:
command: bin/run.sh $SNAP/bin/start_maintenance_hardware.sh
plugs: ['home', 'x11', 'opengl', 'gsettings', 'pulseaudio', 'network']
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
parts:
files:
plugin: dump
source: scripts
after: [integration]
integration:
plugin: nil
stage-packages:
- libc-bin
- libclutter-1.0-0
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- libglib2.0-0
- light-themes
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5
- libqt5quick5
- libsqlite0
- libqt5sql5
- libqt5sql5-sqlite
- libsqlite3-0
- appmenu-qt5
- libqt5qml5
- libqt5quickwidgets5
- qml-module-qtquick-controls
- qml-module-qtqml-models2
- qmlscene
- qml-module-qt-labs-folderlistmodel
- qml-module-qtquick-xmllistmodel
after: [desktop/qt5]