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. Qt Quick or Qt GUI?

Qt Quick or Qt GUI?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 442 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.
  • M Offline
    M Offline
    MAthias_Va
    wrote on last edited by
    #1

    How can I decide when to use Qt Quick or Qt GUI?

    sierdzioS 1 Reply Last reply
    0
    • M MAthias_Va

      How can I decide when to use Qt Quick or Qt GUI?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @MAthias_Va said in Qt Quick or Qt GUI?:

      How can I decide when to use Qt Quick or Qt GUI?

      You can't use QtQuick without QtGui module. I suspect you meant QtWidgets instead.

      My recommendations:

      • learn both yourself - creating a few simple apps in both QtQuick and QtWidgets is by far the best way to gain personal opinion on the matter
      • QtQuick is best suited for modern, good looking, animated apps with custom looks
      • QtWidgets are working well with more traditional UIs. Creating custom components is harder here
      • QtQuick is benefiting from OpenGL support
      • QtQuick makes it easier to separate business logic and UI
      • QtWidgets are compiled into your application - there is no runtime overhead. QtQuick needs to be interpreted by QQmlEngine first, before the UI is shown (this has been mitigated greatly in newest Qt releases with QtQuick Compiler and other optimizations)
      • both technologies are still fully supported, neither is going to be deprecated any time soon
      • QtWidgets offers a stable API. In QtQuick world, the API is still in a (tiny) bit of flux
      • the bridge between C++ and QML is somewhat complicated, it takes time to get used to it and to learn to use it properly. QtWidgets are C++ only, so here there is no such problem at all
      • a lot of Qt C++ APIs are not available in QML (they can be easily added by wrappers, though)

      These are just some points out of the top of my head. I think the best way is to try both technologies, as I mentioned.

      (Z(:^

      1 Reply Last reply
      5
      • M Offline
        M Offline
        MAthias_Va
        wrote on last edited by
        #3

        thanks @sierdzio

        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