>> -----Original Message----- >> From: Interest [mailto:interest-bounces+mitch.curtis=qt.io at qt-project.org] >> On Behalf Of Julien Bordes >> Sent: Thursday, 30 June 2016 5:33 PM >> To: interest at qt-project.org >> Subject: [Interest] QML 5.7 QNX, module (or version) is not installed >> >> >> >> Hello Everybody, >> >> I'm currently working on Qt 5.7 with QtWebKit compiled for QNX arm v7, I >> tested several QML applications, but I still have some troubles with two >> modules "QtQuick.VirtualKeyboard" and "QtWebKit" on i.MX6. >> >> First I copied the libraries to my i.MX6 target >> >> qt5.7 >> |- lib >> |- plugins > > Does platforminputcontexts/libqtvirtualkeyboardplugin.so exist under this > directory?
The plugin exist on the QNX target plugins |- ... |- platforminputcontexts | |- libibusplatforminputcontextplugin.so | |- libqtvirtualkeyboardplugin.so | |- ... > >> |- qml >> |- translations >> >> In the qml folder the two modules seems to be present >> >> qml >> |- ... >> |- QtQuicks > > That should be QtQuick, not QtQuicks. You're right it's a typo, the folder name is QtQuick indeed > >> | |- ... >> | |- VirtualKeyboard >> | | |- plugins.qmltypes >> | | |- qmldir >> | | |- Styles >> | | |- libqtvirtualkeyboardstylesplugin.so >> | | |- plugins.qmltypes >> | | |- qmldir >> | | >> | |- ... >> | >> |- ... >> |- QtWebKit >> | |- libqmlwebkitplugin.so >> | |- plugins.qmltypes >> | |- qmldir >> | >> |- ... >> >> Qt paths are set on the target: >> >> QML_IMPORT_PATH=/opt/qt5.7/qml >> QML2_IMPORT_PATH=/opt/qt5.7/qml >> QT_PLUGIN_PATH=/opt/qt5.7/plugins >> LD_LIBRARY_PATH=<miscLibPaths>:/opt/qt5.7/lib >> QT_QPA_FONTDIR=/opt/qt5.7/lib/fonts >> >> For the first module I compiled the virtualkeyboard example provided by >> Qt, this works on Linux 32 bits Dekstop, but when you load it in the QNX >> i.MX6.target, it does not lauch and display an error <module >> "QtQuick.VirtualKeyboard" is not installed>. The code used in the qml file >> is <import QtQuick.VirtualKeyboard 2.1> > > Are you setting QT_IM_MODULE=qtvirtualkeyboard before running the application? > > Perhaps running the application with QML_IMPORT_TRACE=1 will show something > interesting? Here the results when I lauch the application QQmlImportDatabase::addImportPath: "/opt/Qt5.7/5.7/qnx-armv7/qml" QQmlImportDatabase::addImportPath: "/opt/qt5.7/qml" QQmlImportDatabase::addImportPath: "qrc:/qt-project.org/imports" QQmlImportDatabase::addImportPath: "/root/dev/virtualkeyboard" QQmlImports(qrc:/basic-b2qt.qml)::addLibraryImport: "QtQuick" 2.0 as "" QQmlImports(qrc:/basic-b2qt.qml)::importExtension: loaded "/opt/qt5.7/qml/QtQuick.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/opt/qt5.7/qml/QtQuick.2" QQmlImports(qrc:/basic-b2qt.qml)::addLibraryImport: "QtQuick.Window" 2.2 as "" QQmlImports(qrc:/basic-b2qt.qml)::importExtension: loaded "/opt/qt5.7/qml/QtQuick/Window.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Window" from "/opt/qt5.7/qml/QtQuick/Window.2" QQmlImports(qrc:/basic-b2qt.qml)::addLibraryImport: "QtQuick.VirtualKeyboard" 2.1 as "" QQmlImports(qrc:/basic-b2qt.qml)::importExtension: loaded "/opt/qt5.7/qml/QtQuick/VirtualKeyboard/qmldir" qrc:/basic-b2qt.qml:32:1: module "QtQuick.VirtualKeyboard" is not installed > >> For the second module I tried to make a custom Flickable WebView, this >> also works on Linux 32 bits Dekstop, but there is a similar problem on the >> QNX i.MX6.target, it does not lauch and display an error <module >> "QtWebKit" version 3.0 is not installed>, here it does not found this >> specific version of the module. The code used in the qml file is <import >> QtWebKit 3.0> Before that I already developped a QWebView widget also >> based on QtWebkit in another application to check HTML page display and it >> works both on Linux 32 bits Dekstop and QNX i.MX6.target. By the way this >> issue with QtWebKit on QML also impact Qt 5.6 LTS compiled for QNX arm v7. >> >> I tried fo found information on the forums and Qt website but i don't >> really undertsand what I am missing about the imports. I also search for >> information about Qt supported features on QNX but the only page I was >> able to found is Qt status on QNX (https://wiki.qt.io/Qt_Status_on_QNX) >> and there is no specific version "updates" after Qt 5.4 >> >> Thanks >> >> >> >> _______________________________________________ >> Interest mailing list >> Interest at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest as in this >> [exemple](http://doc.qt.io/qt-5/qtlocation-places-items-searchbar-qml.html).
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest