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

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
  • 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 29 Jun 2015, 09:29 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

    P 1 Reply Last reply 29 Jun 2015, 09:41
    0
    • I iMasoud
      29 Jun 2015, 09:29

      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

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 29 Jun 2015, 09:41 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 30 Jun 2015, 19:14
      1
      • P p3c0
        29 Jun 2015, 09:41

        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 30 Jun 2015, 19:14 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 ... ?

        P 1 Reply Last reply 1 Jul 2015, 04:49
        0
        • I iMasoud
          30 Jun 2015, 19:14

          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 ... ?

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 1 Jul 2015, 04:49 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

          3/4

          30 Jun 2015, 19:14

          • Login

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