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. What to choose: QML or Widgets?
QtWS25 Last Chance

What to choose: QML or Widgets?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 476 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.
  • P Offline
    P Offline
    Pavel Romankov
    wrote on last edited by
    #1

    Hello.
    It would be a small project, simple CAD editor with settings and interface components.
    What is better to use for this: QML or Widgets? Is it real to create CAD component (something like very simple QCad) with QML, or integrate widget into QML window or it is better to use only widgets for this purposes?
    I have widgets using expirence and some expirence with QML, but it would be interesting for me to learn QML deeper.

    J.HilkJ 1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      Trend may be your friend.
      Android: Flutter
      iOS: SwiftUI
      Qt: Qml

      I would go with Qml. A good opportunity to know more about Qml.

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        Is it a hybrid app for both mobile and Desktop ?

        P 1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          Is it a hybrid app for both mobile and Desktop ?

          P Offline
          P Offline
          Pavel Romankov
          wrote on last edited by
          #4

          @mrjj for now it would be a desktop app only

          mrjjM 1 Reply Last reply
          0
          • P Pavel Romankov

            @mrjj for now it would be a desktop app only

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Pavel-Romankov

            Well if potentially you would use it on mobile, QML might not be a bad fit.
            Also will the APP require OpenGL/accelerated graphics ?
            If yes, another reason for QML.

            That said a very technical non animated cad app would also work great with widgets.

            1 Reply Last reply
            0
            • P Pavel Romankov

              Hello.
              It would be a small project, simple CAD editor with settings and interface components.
              What is better to use for this: QML or Widgets? Is it real to create CAD component (something like very simple QCad) with QML, or integrate widget into QML window or it is better to use only widgets for this purposes?
              I have widgets using expirence and some expirence with QML, but it would be interesting for me to learn QML deeper.

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @Pavel-Romankov

              General speaking, they are equivalent.

              That said, there are some differences:

              • Do you have a separated designer / design team ?
              • Do you use 3D stuff
              • Do you have lots of animations
              • Do you plan do use it on mobile

              if one or more of those points are true, I would suggest using QML. Because its generally easier/less time consuming with QML


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0
              • JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by JoeCFD
                #7

                Is QML doing 3D stuff better than widgets? If yes, any reasons?

                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