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. Looking for a way to use JS plugins in qml
Forum Updated to NodeBB v4.3 + New Features

Looking for a way to use JS plugins in qml

Scheduled Pinned Locked Moved QML and Qt Quick
qmlqt quickjavascript
4 Posts 2 Posters 1.1k 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.
  • I Offline
    I Offline
    iMasoud
    wrote on last edited by
    #1

    Hi,

    I'm looking for a way to use JavaScript plugins such as JustGage(http://justgage.com) and ... in my qml file.

    Is it even possible? And if it's possible; how can i do that?

    thank you all and sorry for my bad English

    p3c0P 1 Reply Last reply
    0
    • I iMasoud

      Hi,

      I'm looking for a way to use JavaScript plugins such as JustGage(http://justgage.com) and ... in my qml file.

      Is it even possible? And if it's possible; how can i do that?

      thank you all and sorry for my bad English

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      HI @iMasoud and Welcome,
      The problem of using many of such available JS libraries are that certain objects used in them like window or DOM are not available in QML and thus they don't work.
      I've explained it here too.
      I have done something similar using QML and C++ but not pure JavaScript and it's a complete doughnut and not half. It is here.

      157

      I 1 Reply Last reply
      1
      • p3c0P p3c0

        HI @iMasoud and Welcome,
        The problem of using many of such available JS libraries are that certain objects used in them like window or DOM are not available in QML and thus they don't work.
        I've explained it here too.
        I have done something similar using QML and C++ but not pure JavaScript and it's a complete doughnut and not half. It is here.

        I Offline
        I Offline
        iMasoud
        wrote on last edited by
        #3

        Hi @p3c0,
        thank you for your reply. QtKnobs are really great! Do you know any other industrial components for Qt Quick? such as Tanks, Sliders, Booleans, Histograms, Graphs and ... ?

        p3c0P 1 Reply Last reply
        0
        • I iMasoud

          Hi @p3c0,
          thank you for your reply. QtKnobs are really great! Do you know any other industrial components for Qt Quick? such as Tanks, Sliders, Booleans, Histograms, Graphs and ... ?

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @iMasoud Some of these are here:
          http://qwt.sourceforge.net/
          http://doc.qt.io/QtQuickEnterpriseControls/ - requires commercial license

          157

          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