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. QWidgets are deprecated?
Forum Updated to NodeBB v4.3 + New Features

QWidgets are deprecated?

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 1.1k Views 5 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.
  • S Offline
    S Offline
    Stefanoxjx
    wrote on last edited by
    #1

    Hi boys,
    I was told that the QWidgets are deprecated because now QML is better.
    I think that QML is really better, but if my UI's use the classic widgets and not advanced graphic implementation that QML can offer, why using QML?
    Really the QWidgets are deprecated?
    What do you think?

    Thanks

    Stefano

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

      Hi,

      Where did you see that ?

      There are quite a lot of application still written with widgets.

      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
      • S Offline
        S Offline
        Stefanoxjx
        wrote on last edited by
        #3

        Hi SGaist,
        recently in a company where I work I took a basic course of QML and the teacher told this.
        QML is very powerful, but for advanced UI's.
        It makes no sense to me to user QML for standard UI's.
        Also because this news comes just now that I've learned to use widgets well :(

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I don't know where that teacher got that but widgets are not deprecated and won't be for a long time. QML has its uses, but also drawbacks. For some applications, new ones too, widgets are still the way to go. It all depends on a use case.

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

            As usual: evaluate your needs and use the stack that matches your project the best.

            You can even integrate QtQuick in widget applications if needed. The other way around is a bit more complicated (there's a KDAB module for that).

            There's no reason to jump and rewrite everything from scratch just to use a new tech. Ensure that it provides a real benefit.

            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
            2
            • S Offline
              S Offline
              Stefanoxjx
              wrote on last edited by
              #6

              Many thanks at all.
              You told me exatly what I thought.

              Stefano

              1 Reply Last reply
              0
              • Chris KawaC Chris Kawa

                I don't know where that teacher got that but widgets are not deprecated and won't be for a long time. QML has its uses, but also drawbacks. For some applications, new ones too, widgets are still the way to go. It all depends on a use case.

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                @Chris-Kawa said in QWidgets are deprecated?:

                widgets are not deprecated and won't be for a long time.

                Indeed.

                Even Qt Creator, the official IDE for Qt, is mainly made of widgets!

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                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