Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt5 is better than Qt6
Forum Updated to NodeBB v4.3 + New Features

Qt5 is better than Qt6

Scheduled Pinned Locked Moved Unsolved Qt 6
18 Posts 10 Posters 2.6k Views 3 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.
  • D DevWinDemon
    20 May 2025, 20:33

    I can't create apps using qt 6.8.2 and 6.9.0.
    I made lots of apps with 5.15.16 and could run it outside the qt and share with friends easily
    Now when I tried to update, official installer installed qt with dynamic version witch is terrible. Apps cannot be ran outside of qt because they shows smth like "Qt6-Core.dll not found" and "Qt6-Widgets.dll not found". It can't just put these libraries inside the exe file like qt5 does
    What's even worse when I tried to install 6.9.0 throught the msys2 like I did earlier it still has these problems

    Why is qt downgrading this way? Why should I put dll files near the app to run it or create archive with them to share with someone? And whats even more absurdly don't working qt6 empty app weights 45MB comparing with 30MB stable static qt5 app. Qt6 is terrible

    S Offline
    S Offline
    SimonSchroeder
    wrote on 22 May 2025, 07:06 last edited by
    #5

    @DevWinDemon said in Qt5 is better than Qt6:

    Now when I tried to update, official installer installed qt with dynamic version witch is terrible.

    The installer has always only offered the DLLs of the Qt libraries (also with Qt 5). You always had to compile the static version of the library yourself (or download it from a (hopefully) trusted source which is not the Qt Company itself). Nothing has changed in this regard. There is no downgrade. BTW: Using DLLs makes it a lot easier to comply with the LGPL. (I personally prefer having a single executable without any DLLs and so I compiled static Qt myself. On macOS and Linux (with AppImage) the dynamic libraries are hidden inside a single folder/file and the normal user will not notice them.)

    1 Reply Last reply
    1
    • P Pl45m4
      21 May 2025, 00:40

      @DevWinDemon said in Qt5 is better than Qt6:

      Apps cannot be ran outside of qt because they shows smth like "Qt6-Core.dll not found" and "Qt6-Widgets.dll not found".

      Then you did not deploy your app properly...
      windeployqt should be able to handle this. At least for the Qt dependencies.

      It can't just put these libraries inside the exe file like qt5 does

      Either you are doing it wrong or have other errors... even though this is not the recommended way, it should still work.

      Why is qt downgrading this way?

      There is no downgrade. They mixed some modules around and removed deprecated things, but I highly doubt that there is any downgrade from 5.15 to 6.9.0+

      Why should I put dll files near the app to run it or create archive with them to share with someone?

      When you have to ask this, you don't seem to understand how libraries (esp. shared/dynamic ones) and programs work.

      Qt6 is terrible

      If you say so :)
      Nobody forces you to use it :)
      Feel free :)

      D Offline
      D Offline
      DevWinDemon
      Banned
      wrote on 1 Jun 2025, 19:11 last edited by
      #6

      @Pl45m4 said in Qt5 is better than Qt6:

      windeployqt should be able to handle this

      I ran it and it added libs to debug directory. But I want to share only .exe file without anything else
      Also I didn't used this tool before in qt 5 and everything works fine

      @Pl45m4 said in Qt5 is better than Qt6:

      When you have to ask this, you don't seem to understand how libraries (esp. shared/dynamic ones) and programs work

      Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

      @Pl45m4 said in Qt5 is better than Qt6:

      Either you are doing it wrong or have other errors... even though this is not the recommended way, it should still work

      App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

      @Pl45m4 said in Qt5 is better than Qt6:

      Then you did not deploy your app properly

      Why am I need it? qt 5 can create apps without any deploying, just with piece of code and "run" button

      P S 2 Replies Last reply 1 Jun 2025, 20:44
      4
      • D DevWinDemon
        1 Jun 2025, 19:11

        @Pl45m4 said in Qt5 is better than Qt6:

        windeployqt should be able to handle this

        I ran it and it added libs to debug directory. But I want to share only .exe file without anything else
        Also I didn't used this tool before in qt 5 and everything works fine

        @Pl45m4 said in Qt5 is better than Qt6:

        When you have to ask this, you don't seem to understand how libraries (esp. shared/dynamic ones) and programs work

        Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

        @Pl45m4 said in Qt5 is better than Qt6:

        Either you are doing it wrong or have other errors... even though this is not the recommended way, it should still work

        App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

        @Pl45m4 said in Qt5 is better than Qt6:

        Then you did not deploy your app properly

        Why am I need it? qt 5 can create apps without any deploying, just with piece of code and "run" button

        P Online
        P Online
        Pl45m4
        wrote on 1 Jun 2025, 20:44 last edited by Pl45m4 6 Jan 2025, 20:47
        #7

        @DevWinDemon

        Everything you said above is wrong... There is no difference between Qt5 and Qt6 apps in the way they are deployed (or linked to Qt libs). A Qt5 app also does not work outside of the IDE environment and without its dependencies. Simple facts.

        @DevWinDemon said in Qt5 is better than Qt6:

        I ran it and it added libs to debug directory. But I want to share only .exe file without anything else

        Do what you want, but it doesn't work then :))

        Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

        Doubt.
        If the Qt5 app was built the same way, I guarantee you, it never worked as you describe.

        @DevWinDemon said in Qt5 is better than Qt6:

        App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

        Yes, this is expected.

        @DevWinDemon said in Qt5 is better than Qt6:

        Why am I need it? qt 5 can create apps without any deploying, just with piece of code and "run" button

        Because it is how software development and programs work.
        What run button? The one in QtCreator?! There it is expected to work, because it's within the correct environment.

        The code that you write uses Qt libraries in your pre-set environment... when you compile your program and move the result somewhere else (either locally or send it to friends) the "dependencies" are not there anymore (or at least not in your app's search path / "sight") and it stops working.
        Nothing new, nothing wrong. Just how it works.

        If you don't want to do the required steps, don't blame Qt5 or Qt6 that it doesn't work.


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        D 1 Reply Last reply 6 Jun 2025, 11:21
        0
        • D DevWinDemon
          1 Jun 2025, 19:11

          @Pl45m4 said in Qt5 is better than Qt6:

          windeployqt should be able to handle this

          I ran it and it added libs to debug directory. But I want to share only .exe file without anything else
          Also I didn't used this tool before in qt 5 and everything works fine

          @Pl45m4 said in Qt5 is better than Qt6:

          When you have to ask this, you don't seem to understand how libraries (esp. shared/dynamic ones) and programs work

          Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

          @Pl45m4 said in Qt5 is better than Qt6:

          Either you are doing it wrong or have other errors... even though this is not the recommended way, it should still work

          App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

          @Pl45m4 said in Qt5 is better than Qt6:

          Then you did not deploy your app properly

          Why am I need it? qt 5 can create apps without any deploying, just with piece of code and "run" button

          S Offline
          S Offline
          SimonSchroeder
          wrote on 2 Jun 2025, 06:38 last edited by
          #8

          @DevWinDemon said in Qt5 is better than Qt6:

          Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

          App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

          It looks you somehow got lucky with Qt5. The most plausible explanation is that the DLLs could be found through an environment variable. Maybe you followed some tutorial that told you to set the environment variable accordingly. Maybe some other software you installed uses Qt5 and set up some environment variable. There are endless possibilities how this accidentally worked with Qt5. However, for most people (or if you have a clean install of Windows, Visual Studio and Qt) it will not work as you have described.

          D 1 Reply Last reply 6 Jun 2025, 11:42
          0
          • P Pl45m4
            1 Jun 2025, 20:44

            @DevWinDemon

            Everything you said above is wrong... There is no difference between Qt5 and Qt6 apps in the way they are deployed (or linked to Qt libs). A Qt5 app also does not work outside of the IDE environment and without its dependencies. Simple facts.

            @DevWinDemon said in Qt5 is better than Qt6:

            I ran it and it added libs to debug directory. But I want to share only .exe file without anything else

            Do what you want, but it doesn't work then :))

            Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

            Doubt.
            If the Qt5 app was built the same way, I guarantee you, it never worked as you describe.

            @DevWinDemon said in Qt5 is better than Qt6:

            App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

            Yes, this is expected.

            @DevWinDemon said in Qt5 is better than Qt6:

            Why am I need it? qt 5 can create apps without any deploying, just with piece of code and "run" button

            Because it is how software development and programs work.
            What run button? The one in QtCreator?! There it is expected to work, because it's within the correct environment.

            The code that you write uses Qt libraries in your pre-set environment... when you compile your program and move the result somewhere else (either locally or send it to friends) the "dependencies" are not there anymore (or at least not in your app's search path / "sight") and it stops working.
            Nothing new, nothing wrong. Just how it works.

            If you don't want to do the required steps, don't blame Qt5 or Qt6 that it doesn't work.

            D Offline
            D Offline
            DevWinDemon
            Banned
            wrote on 6 Jun 2025, 11:21 last edited by
            #9

            @Pl45m4 said in Qt5 is better than Qt6:

            A Qt5 app also does not work outside of the IDE environment and without its dependencies. Simple facts

            I've been making apps like that for damn it 2 years! And everything works fine, this is facts, not your words. Your words no more than words, not facts. Wanna see facts? I can put link to my cloud or pin app directly to this forum and it will run with no libraries, created from "run" or "build" button in the qt creator with no additional exes. I gon grab it from "debug" folder and put it here and this will be facts, not just words. If my next message not gonna be banned for link (as youtube or some apps/sites doing), it will be link to app with no libs outside

            @Pl45m4 said in Qt5 is better than Qt6:

            Do what you want, but it doesn't work then :))

            How the hell it has been working for 2 years?! I've been sharing it to friends and they could run it with no libs as one exe

            @Pl45m4 said in Qt5 is better than Qt6:

            If the Qt5 app was built the same way, I guarantee you, it never worked as you describe

            prove your "guarantee" then

            @Pl45m4 said in Qt5 is better than Qt6:

            it stops working

            so how then qt 5 apps working? With no libs?

            @Pl45m4 said in Qt5 is better than Qt6:

            What run button? The one in QtCreator?! There it is expected to work, because it's within the correct environment

            Left bottom corner, 2 buttons. I don't care how it works, I just said what it is. I wrote code in qt5, I push that button and it works as exe everywhere. I dont care if qt putted the libs inside the exe or through it to the moon, it just works. While qt 6 is not.

            D 1 Reply Last reply 6 Jun 2025, 11:36
            4
            • D DevWinDemon
              6 Jun 2025, 11:21

              @Pl45m4 said in Qt5 is better than Qt6:

              A Qt5 app also does not work outside of the IDE environment and without its dependencies. Simple facts

              I've been making apps like that for damn it 2 years! And everything works fine, this is facts, not your words. Your words no more than words, not facts. Wanna see facts? I can put link to my cloud or pin app directly to this forum and it will run with no libraries, created from "run" or "build" button in the qt creator with no additional exes. I gon grab it from "debug" folder and put it here and this will be facts, not just words. If my next message not gonna be banned for link (as youtube or some apps/sites doing), it will be link to app with no libs outside

              @Pl45m4 said in Qt5 is better than Qt6:

              Do what you want, but it doesn't work then :))

              How the hell it has been working for 2 years?! I've been sharing it to friends and they could run it with no libs as one exe

              @Pl45m4 said in Qt5 is better than Qt6:

              If the Qt5 app was built the same way, I guarantee you, it never worked as you describe

              prove your "guarantee" then

              @Pl45m4 said in Qt5 is better than Qt6:

              it stops working

              so how then qt 5 apps working? With no libs?

              @Pl45m4 said in Qt5 is better than Qt6:

              What run button? The one in QtCreator?! There it is expected to work, because it's within the correct environment

              Left bottom corner, 2 buttons. I don't care how it works, I just said what it is. I wrote code in qt5, I push that button and it works as exe everywhere. I dont care if qt putted the libs inside the exe or through it to the moon, it just works. While qt 6 is not.

              D Offline
              D Offline
              DevWinDemon
              Banned
              wrote on 6 Jun 2025, 11:36 last edited by J.Hilk 6 Jun 2025, 11:52
              #10

              @DevWinDemon said in Qt5 is better than Qt6:

              so how then qt 5 apps working? With no libs?

              [[redacted]]

              1 Reply Last reply
              4
              • S SimonSchroeder
                2 Jun 2025, 06:38

                @DevWinDemon said in Qt5 is better than Qt6:

                Because when I created dlls / exes in qt5 it could work without anything near, while officially installed qt 6 requires some libs

                App works inside the qt and I can it run from qt creator, but it requires libs if I wanna start app from explorer

                It looks you somehow got lucky with Qt5. The most plausible explanation is that the DLLs could be found through an environment variable. Maybe you followed some tutorial that told you to set the environment variable accordingly. Maybe some other software you installed uses Qt5 and set up some environment variable. There are endless possibilities how this accidentally worked with Qt5. However, for most people (or if you have a clean install of Windows, Visual Studio and Qt) it will not work as you have described.

                D Offline
                D Offline
                DevWinDemon
                Banned
                wrote on 6 Jun 2025, 11:42 last edited by
                #11

                @SimonSchroeder said in Qt5 is better than Qt6:

                DLLs could be found through an environment variable

                how my apps work on friends laptops then?

                @SimonSchroeder said in Qt5 is better than Qt6:

                There are endless possibilities how this accidentally worked with Qt5

                Why qt devs can't make qt work thats works to not it be "you make it work accidently". Why they can't just create normal compiler that can create apps normally without problems. Sew libs inside the exe file or make it work any other way.

                If randomly found version of old qt works better than official this is a really bad sign for qt developers

                P S 2 Replies Last reply 6 Jun 2025, 12:26
                4
                • D DevWinDemon
                  6 Jun 2025, 11:42

                  @SimonSchroeder said in Qt5 is better than Qt6:

                  DLLs could be found through an environment variable

                  how my apps work on friends laptops then?

                  @SimonSchroeder said in Qt5 is better than Qt6:

                  There are endless possibilities how this accidentally worked with Qt5

                  Why qt devs can't make qt work thats works to not it be "you make it work accidently". Why they can't just create normal compiler that can create apps normally without problems. Sew libs inside the exe file or make it work any other way.

                  If randomly found version of old qt works better than official this is a really bad sign for qt developers

                  P Offline
                  P Offline
                  PublikName
                  Banned
                  wrote on 6 Jun 2025, 12:26 last edited by
                  #12
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    stop banning me lol
                    Banned
                    wrote on 6 Jun 2025, 12:45 last edited by
                    #13
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      I have 60 emails gonna ban all
                      Banned
                      wrote on 6 Jun 2025, 12:54 last edited by
                      #14
                      This post is deleted!
                      JonBJ 1 Reply Last reply 6 Jun 2025, 12:58
                      0
                      • I I have 60 emails gonna ban all
                        6 Jun 2025, 12:54

                        This post is deleted!

                        JonBJ Offline
                        JonBJ Offline
                        JonB
                        wrote on 6 Jun 2025, 12:58 last edited by JonB 6 Jun 2025, 13:02
                        #15

                        @I-have-60-emails-gonna-ban-all
                        Your conclusions are simply incorrect. You rant and rant, but Qt6 works just the same as Qt5 did. The difference will be something on your machine or your friend's environment, somewhere, not a difference between Qt versions. If you are really interested learn why that is and what is required for Qt to work on "clean" machines instead. Any version of Qt requires runtime libraries to be found on target machine, regardless of what you might think. Or, just maybe you compiled to statically link the Qt libs in your Qt5 build(s) but not in Qt6, which would then not require DLLs at runtime and would explain the difference? If all you want to do is post incorrect complaints you won't get anywhere.

                        Also, for the record neither The Qt Company nor its developers tend to read this forum. This is a forum for users of Qt, just like yourself. People here do not control the Qt Company or its products/releases.

                        P 1 Reply Last reply 6 Jun 2025, 13:09
                        1
                        • JonBJ JonB
                          6 Jun 2025, 12:58

                          @I-have-60-emails-gonna-ban-all
                          Your conclusions are simply incorrect. You rant and rant, but Qt6 works just the same as Qt5 did. The difference will be something on your machine or your friend's environment, somewhere, not a difference between Qt versions. If you are really interested learn why that is and what is required for Qt to work on "clean" machines instead. Any version of Qt requires runtime libraries to be found on target machine, regardless of what you might think. Or, just maybe you compiled to statically link the Qt libs in your Qt5 build(s) but not in Qt6, which would then not require DLLs at runtime and would explain the difference? If all you want to do is post incorrect complaints you won't get anywhere.

                          Also, for the record neither The Qt Company nor its developers tend to read this forum. This is a forum for users of Qt, just like yourself. People here do not control the Qt Company or its products/releases.

                          P Online
                          P Online
                          Pl45m4
                          wrote on 6 Jun 2025, 13:09 last edited by
                          #16

                          @JonB

                          The same kind of people blames their car when they steer down the stairs of an Underground station or drive into the next lake because their GPS told them to "turn right"... ;-)

                          @ WhateverAccYouAreGoingToCreate:

                          It is how it works and what it always have been like...
                          If your Qt5 app had worked like you told, it's not because of Qt did something different in Qt6 compared to Qt5, but you did when building your app...
                          We have told you that multiple times, but you don't listen :)


                          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                          ~E. W. Dijkstra

                          1 Reply Last reply
                          0
                          • D DevWinDemon
                            6 Jun 2025, 11:42

                            @SimonSchroeder said in Qt5 is better than Qt6:

                            DLLs could be found through an environment variable

                            how my apps work on friends laptops then?

                            @SimonSchroeder said in Qt5 is better than Qt6:

                            There are endless possibilities how this accidentally worked with Qt5

                            Why qt devs can't make qt work thats works to not it be "you make it work accidently". Why they can't just create normal compiler that can create apps normally without problems. Sew libs inside the exe file or make it work any other way.

                            If randomly found version of old qt works better than official this is a really bad sign for qt developers

                            S Offline
                            S Offline
                            SimonSchroeder
                            wrote on 10 Jun 2025, 06:48 last edited by
                            #17

                            @DevWinDemon said in Qt5 is better than Qt6:

                            Why they can't just create normal compiler that can create apps normally without problems.

                            That is because the easiest way to conform with the LGPL is to use DLLs. What you want is static linking (which is a little harder to adhere to with the LGPL). But, what you probably really want is the paid version of Qt.

                            @DevWinDemon said in Qt5 is better than Qt6:

                            Why they can't just create normal compiler that can create apps normally without problems.

                            On Windows, most libraries work like that. It is quite common to use DLLs. This always has a certain baggage attached to it. The most common way to solve this is to use an installer. I'm not sure where you got the idea that Qt should create a "normal compiler" because they never had a compiler in the first place.

                            1 Reply Last reply
                            0
                            • servant 0S Offline
                              servant 0S Offline
                              servant 0
                              wrote 14 days ago last edited by
                              #18

                              Wow! Someone was angry and spent a lot of time on this post, including making alt accounts.

                              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