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. Using third party JavaScript-library in QML
Forum Updated to NodeBB v4.3 + New Features

Using third party JavaScript-library in QML

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 636 Views 2 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.
  • F Offline
    F Offline
    Frime
    wrote on last edited by
    #1

    Hi together,

    Is there a possibility to get an external JS library running within QtQuick without major code-refactoring? This library implements an JS-API to get values from WebSockets which should be presented by QML Controls.

    Unfortunately, QtQuicks JS-Engine doesn't support all features a web-browser do. But it would be great to be able to reuse this (>10.000 loc) library within a QML UI. A rewrite is actually not possible..

    So my questions:

    • Is there any alternative JavaScript engine which fits into Qt/QML Context?
    • Ore are there any additional JS libraries to extend the function range of QtQuicks own JS Implementation?

    Thank you very much in advance!
    Frime

    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