Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Need to know JavaScript to take full advantate of Qt 5?
Forum Updated to NodeBB v4.3 + New Features

Need to know JavaScript to take full advantate of Qt 5?

Scheduled Pinned Locked Moved The Lounge
3 Posts 3 Posters 1.6k 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    I was reading about Qt on" wikipedia":http://en.wikipedia.org/wiki/Qt_(framework) and the next section got me thinking:

    bq. This new version marks a major change in the platform, with hardware-accelerated graphics, QML and JavaScript playing a major role. The traditional C++-only QWidgets will continue to be supported, but will not benefit from the performance improvements available through the new architecture.

    Does this mean that One needs to be proficient in Javascript to really enjoy it?Also learned that it will be possible to use Qt to write applications for android based products.Symbian only support of Qt is what has been stopping me from digging more into QML.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on last edited by
      #2

      Proficient - hardly. Adequate - sure. You can get away with very trivial JavaScript to implement simple logic along QML markup. It just saves a lot of time, if you plan to implement that same logic in C++ and encapsulate it into custom QML components QML becomes a tedious burden.

      Sadly it is not just the extra performance, but also a tremendous amount of the new features. Many people are unhappy with the fact like 99% of the "tangible" improvements in Qt are exclusively available to QML, even though they are implemented in C++. That is the whole point of the epic "Does Qt need a modern C++ GUI API?":http://qt-project.org/forums/viewthread/16465/P210/ poll/discussion/battlefield...

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jaak
        wrote on last edited by
        #3

        Though Qml is still given much importance, c++ widgets are getting more love from Digia. You can avoid JS completely if you want. You can do logic in c++ and UI in Qml though I would have loved a modern c++ gui api.

        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