Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML 5.7 QNX, module (or version) is not installed
QtWS25 Last Chance

QML 5.7 QNX, module (or version) is not installed

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt 5.6qt 5.7virtualkeyboardqtwebkitqml
3 Posts 2 Posters 2.9k 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.
  • J Offline
    J Offline
    Julien B
    wrote on 29 Jun 2016, 12:03 last edited by Julien B
    #1

    Hello,

    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
    |- qml
    |- translations
    

    In the qml folder the two modules seems to be present

    qml
    |- ...
    |- QtQuicks
    |  |- ...
    |  |- 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

    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 and there is no specific version "updates" after Qt 5.4

    Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Jun 2016, 21:39 last edited by
      #2

      Hi and welcome to devnet,

      I'd recommend bringing this question to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      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
      • J Offline
        J Offline
        Julien B
        wrote on 30 Jun 2016, 15:29 last edited by
        #3

        Hello @SGaist,

        Thanks for the tip I will post also on the interest mailing list.

        Nevertheless I did not modified the qt sources and builds were working fine after compilation for Linux 32 bits and QNX, I just had to add QtWebKit from the community release because it is not a part of official release anymore.

        Actually for QtWebkit on QNX, the app seems have found the module but not the proper version (3.0). For Virtual Keyboard I did nothing more than compiling and try to use the exemple provided with Qt sources, first on Linux 32 bits then on my QNX arm v7 target. I did that with several others QML examples also provided with Qt sources and I did not encounter that kind of behaviour, no other modules where missing.

        Maybe i missed something on my target configuration (libs install, Path, ...), I just would like to know if there is a way to list which modules and version are properly installed on a specific system (Linux, QNX).

        1 Reply Last reply
        0

        1/3

        29 Jun 2016, 12:03

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved