Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is QT Quick better than QT Gui for Desktop applications
Forum Updated to NodeBB v4.3 + New Features

Is QT Quick better than QT Gui for Desktop applications

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 5.8k 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.
  • A Offline
    A Offline
    adnan
    wrote on last edited by
    #1

    What benefits/disadvantages are there if i develop my Desktop applications in QT Quick rather than QTGUI

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      Use Qt instead of QT (short for QuickTime)

      As for your question - it depends on what your application is. In general, QML is faster to prototype and develop, but due to the limited number of components it may actually get slower if you have to implement ordinary GUI elements in QML, whereas with QtGui you have a ton of component widgets with tons of ready to use functionality.

      I would go for QML if I wanted a more custom look, which BTW is achievable with QtGui as well, even thou it will be more cumbersome. If you want a traditional GUI application with push buttons, check boxes and so on, then QtGui is the definite way to go.

      With QML in Qt Quick 2 you are likely to get higher rendering performance, as for Qt Quick 1 - it uses the same rendering pipeline as QtGui, and will actually perform a little slower because of the slower JS binding of properties. With QML you might have runtime interpretation which is slower than QtGui which compiles to native instruction code.

      If you have a small app, sort of "mobile device application" QML is the way to go, but for big and serious desktop programs QtGui is more adequate, and you still have the power to achieve highly custom looks with subclassing, styling and paint event overriding.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adnan
        wrote on last edited by
        #3

        Thanks! really a nice description

        1 Reply Last reply
        0
        • R Offline
          R Offline
          redkite
          wrote on last edited by
          #4

          For QML, you do have some basic components : "Qt Components on Gitorious":http://qt.gitorious.org/qt-components/desktop

          Here was the post about it : "Qt Labs blog":http://labs.qt.nokia.com/2011/03/10/qml-components-for-desktop/

          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