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. Will widget-based Qt be deprecated?
QtWS25 Last Chance

Will widget-based Qt be deprecated?

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 5 Posters 4.7k 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.
  • ZoltanZ Offline
    ZoltanZ Offline
    Zoltan
    wrote on last edited by
    #1

    Does anyone have information if widget-based Qt programming in C++ will further be supported in the future?
    It would be important for me as I wouldn't invest time to learn Qt Widgets if the company will later excessively turn to QML.

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

      Though there's a lot of movement around QML widgets are still supported and AFAIK there are no official statements or plans to retire them in foreseeable future. The status of the module is "Done" i.e. it's maintained and tweaked but no revolutions are planned. It's been so from the beginnings of Qt 5 around 5 years ago.
      Widgets are not going away anytime soon. Certainly not in Qt 5 time frame and I highly doubt in Qt 6 either.

      ZoltanZ lonnieL 2 Replies Last reply
      2
      • Chris KawaC Chris Kawa

        Though there's a lot of movement around QML widgets are still supported and AFAIK there are no official statements or plans to retire them in foreseeable future. The status of the module is "Done" i.e. it's maintained and tweaked but no revolutions are planned. It's been so from the beginnings of Qt 5 around 5 years ago.
        Widgets are not going away anytime soon. Certainly not in Qt 5 time frame and I highly doubt in Qt 6 either.

        ZoltanZ Offline
        ZoltanZ Offline
        Zoltan
        wrote on last edited by
        #3

        @Chris-Kawa Good to hear. Thanks.

        1 Reply Last reply
        0
        • Chris KawaC Chris Kawa

          Though there's a lot of movement around QML widgets are still supported and AFAIK there are no official statements or plans to retire them in foreseeable future. The status of the module is "Done" i.e. it's maintained and tweaked but no revolutions are planned. It's been so from the beginnings of Qt 5 around 5 years ago.
          Widgets are not going away anytime soon. Certainly not in Qt 5 time frame and I highly doubt in Qt 6 either.

          lonnieL Offline
          lonnieL Offline
          lonnie
          wrote on last edited by
          #4

          @Chris-Kawa I certainly hope that is the case. I am moving from C# to QT and C++ in order to have three things: SPEED, more SPEED, and cross platform.

          Based on my research QML represents the rejected notion that the simple smartphone interface will be used for everything. Sorry, but you cannot "simply" support a 5" screen the same as a 50" 4096x2160 monster like I am using, with many people in the real world using multiple 28" 4K UHD monitors.

          As for speed, I understand that QML does an awful lot of code generation at run time. That has to be a slower startup and more importantly quite insecure, since my understanding is also that the QML source is needed at run time. That is just C# all over again.

          My QT app is a HUGE learning experience, but it is anywhere from 5 to 50 times faster. It is actually more of a C# unlearning experience. I got pretty lazy with C#.

          My vote is for BIG desktop support and compiled code. I hope they are listening. Phones are important but are not the only tool that people use.

          Has anyone gathered some stats showing the use of QML in real world big applications? I'd be curious to see some real QML based programs, not just the simple examples in Creator. I've seen C# programs switch from Forms to WPF and simply go away because they were all new and buggy. Their development time would have been better spent improving what they had or simply taking an extended holiday.

          Sorry for the long rant, but it would pain me to see QT do away with widgets and it never occurred to me that it was an option.

          JonBJ 1 Reply Last reply
          3
          • lonnieL lonnie

            @Chris-Kawa I certainly hope that is the case. I am moving from C# to QT and C++ in order to have three things: SPEED, more SPEED, and cross platform.

            Based on my research QML represents the rejected notion that the simple smartphone interface will be used for everything. Sorry, but you cannot "simply" support a 5" screen the same as a 50" 4096x2160 monster like I am using, with many people in the real world using multiple 28" 4K UHD monitors.

            As for speed, I understand that QML does an awful lot of code generation at run time. That has to be a slower startup and more importantly quite insecure, since my understanding is also that the QML source is needed at run time. That is just C# all over again.

            My QT app is a HUGE learning experience, but it is anywhere from 5 to 50 times faster. It is actually more of a C# unlearning experience. I got pretty lazy with C#.

            My vote is for BIG desktop support and compiled code. I hope they are listening. Phones are important but are not the only tool that people use.

            Has anyone gathered some stats showing the use of QML in real world big applications? I'd be curious to see some real QML based programs, not just the simple examples in Creator. I've seen C# programs switch from Forms to WPF and simply go away because they were all new and buggy. Their development time would have been better spent improving what they had or simply taking an extended holiday.

            Sorry for the long rant, but it would pain me to see QT do away with widgets and it never occurred to me that it was an option.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @lonnie said in Will widget-based Qt be deprecated?:

            @Chris-Kawa I certainly hope that is the case. I am moving from C# to QT and C++ in order to have three things: SPEED, more SPEED, and cross platform.

            My QT app is a HUGE learning experience, but it is anywhere from 5 to 50 times faster. It is actually more of a C# unlearning experience. I got pretty lazy with C#.

            C++ may be noticeably faster than C#, depending on just what your code does. However, in what sense are you saying that Qt is faster than (whatever framework, e.g. maybe .NET?) than C#?

            lonnieL 1 Reply Last reply
            0
            • JonBJ JonB

              @lonnie said in Will widget-based Qt be deprecated?:

              @Chris-Kawa I certainly hope that is the case. I am moving from C# to QT and C++ in order to have three things: SPEED, more SPEED, and cross platform.

              My QT app is a HUGE learning experience, but it is anywhere from 5 to 50 times faster. It is actually more of a C# unlearning experience. I got pretty lazy with C#.

              C++ may be noticeably faster than C#, depending on just what your code does. However, in what sense are you saying that Qt is faster than (whatever framework, e.g. maybe .NET?) than C#?

              lonnieL Offline
              lonnieL Offline
              lonnie
              wrote on last edited by
              #6

              @JNBarchan My application has a very noticeable speed improvement. I had been considering going back over the C# code to optimize some things but since I was also wanting cross platform I took a peek at QT.

              Using the same basic framework of a tree picker and a layout to display the chosen file, which is compressed and encrypted with aes256, the QT is a hands down winner in speed and is so much faster I do not feel the need to optimize. So now I can continue developing.

              The optimization was to eliminate compression and encryption for the file header to give an easier and quicker access to some basic info that tree item requires. By continuing to compress and encrypt all elements, I am more secure and do not need to experiment with a new data structure.

              1 Reply Last reply
              0
              • IMAN4KI Offline
                IMAN4KI Offline
                IMAN4K
                wrote on last edited by IMAN4K
                #7

                @Zoltan
                No.
                NOT AT ALL !!
                Do you really think they will deprecate a 2-decade and well behave widget module ?!!
                BTW here you can find a source fix stamp for Qt6.0 !

                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