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. javascript in qml what is it for?
Forum Updated to NodeBB v4.3 + New Features

javascript in qml what is it for?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 421 Views 1 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.
  • M Offline
    M Offline
    Marito Mesquita
    wrote on last edited by
    #1

    please can someone explain me what's the importance of javascript in qml and how can i learn it?

    ODБOïO 1 Reply Last reply
    0
    • M Marito Mesquita

      please can someone explain me what's the importance of javascript in qml and how can i learn it?

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @Marito-Mesquita hi,
      I would say Js is part of QML. It brings the dynamisme and logic.
      You can create your Js functions and call them in your code when you need. See this page for examples

      M 1 Reply Last reply
      2
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Take a look at the JavaScript Expressions in QML Documents chapter of Qt's documentation.

        Basically, QML is built on top of JavaScript.

        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
        1
        • ODБOïO ODБOï

          @Marito-Mesquita hi,
          I would say Js is part of QML. It brings the dynamisme and logic.
          You can create your Js functions and call them in your code when you need. See this page for examples

          M Offline
          M Offline
          Marito Mesquita
          wrote on last edited by
          #4

          @LeLev ok thank you

          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