Closed vinifr closed 8 years ago
Nevermind, I just copied qlmdir and worked fine! Thanks for your great work!
Where did you copy qmldir? (in which directory) Have you done anything else? I tried running on rasperry pi 2 and on ubuntu 16 using qt 5.5.1. I got the same error: " module "QtQuick.FreeVirtualKeyboard" is not installed import QtQuick.FreeVirtualKeyboard 1.0 "
First of all, I did cross compile Qt5 for Raspberry: http://exploreembedded.tumblr.com/post/115333857238/guide-to-cross-compile-qt-54-for-the-raspberry-pi, but i'm not sure if we can use QT5 from Ubuntu. Has Ubuntu enabled hard acceleration on Qt5? You have to check out.
Also, I did change import VirtualKeyboard 1.0 to import QtQuick.VirtualKeyboard 1.0, inside InputPanel.qml and KeyButton.qml.
After that, copy the files to file system of Raspberry, where you did install QT5(cross compiled or Ubuntu version). In my case(QT5 cross compiled): *.qml ---> /usr/local/qt5pi/qml/QtQuick/VirtualKeyboard libVirtualKeyboard.so --> /usr/local/qt5pi/plugins/platforminputcontexts
That is all.
@vinifr hello, I cross compiled QT 5.5.0 for Raspberry pi 2 and Now i don't know how to do this for the project "QtFreeVirtualKeyboard" to make it run on my Raspberry pi.
@bahaeddine93 hi. You have to configure QT Creator in your PC. Look in section "Setting up Qt Creator" from "https://exploreembedded.tumblr.com/post/115333857238/guide-to-cross-compile-qt-54-for-the-raspberry-pi". After configure QT Creator, open virtualkeyboard.pro, choice Raspberry target created in Kits and compile.
@vinifr I followed this tutorial "https://visualgdb.com/tutorials/raspberry/qt/embedded/" to cross compile QT5.5.0 for raspberry but when I came to deployment (hello world app) I get this error "Unknown module(s) in QT: qml quick". How can I fix this?
Hi, I cross compiled QT 5.5.1 and QtFreeVirtualKeyboard for Raspberry PI 2.
I copied manually the .qml files for /usr/local/qt5pi/qml/QtQuick/VirtualKeyboard and libVirtualKeyboard.so for /usr/local/qt5pi/plugins/platforminputcontexts/ But when I try to execute, return: ./virtualkeyboardqmldemo VirtualKeyboardInputContextPlugin::create: "qtvirtualkeyboard" [9;0]Unable to query physical screen size, defaulting to 100 dpi. To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters). file:///home/pi/projs/QtFreeVirtualKeyboard/examples/qmlapp/MainContainer.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed import QtQuick.VirtualKeyboard 1.0 ^ VirtualKeyboardInputContext::setFocusObject