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
19 Posts 11 Posters 3.0k 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

    @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 last edited by J.Hilk
    #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

      @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 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
      4
      • D DevWinDemon

        @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 last edited by
        #12
        This post is deleted!
        1 Reply Last reply
        0
        • S Offline
          S Offline
          stop banning me lol
          Banned
          wrote on 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 last edited by
            #14
            This post is deleted!
            JonBJ 1 Reply Last reply
            0
            • I I have 60 emails gonna ban all

              This post is deleted!

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #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.

              Pl45m4P 1 Reply Last reply
              1
              • JonBJ JonB

                @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.

                Pl45m4P Offline
                Pl45m4P Offline
                Pl45m4
                wrote on 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

                  @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 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 on 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
                    • D DevWinDemon

                      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

                      goldenhawkingG Offline
                      goldenhawkingG Offline
                      goldenhawking
                      wrote last edited by goldenhawking
                      #19

                      @DevWinDemon I also use msys2 ucrt64 qt6, may be you can make things better follow these approaches.

                      1. Copy your exe file into a release directory.
                      2. Make and run msys2qtdeployplus under the same env, such as mingw64 bash or ucrt64 bash, everything will be ok. the msys2qtdeployplus will do :
                        (1) Call windeployqt5/6 for every exe and dlls in the release dir, and, extra dep dir as needed.
                        (2) Repeatly call ldd/ntldd for each dlls in the release dir, copy extra dependcies from msys64/ucrt64 bin dirs to the release dir.
                        (3) If there were no more extra dlls be copied, goto (4), else, repeat , goto (2)
                        (4) Finished.
                        Before this approach, please make sure that ldd /ntldd, windeployqt5 or 6 has been installed by pacman -S, in your env, such as ucrt64. Repeatly calling ldd/ntldd is very important, for example, Qt SQL psql plugin need libpq, but libpq also has its' own deps, libcrypto.dll and so on.

                      84680e6d-940e-494e-99e2-3da593123418-371b076758e1cce90d374cc945fb6bc4.png

                      1. Call upx tool with "find -exec", for every dll and exe in release dir, using lzma and deep trim switchers, that can significantly reduce the files size. upx can be installed by pacman -S.

                      Qt is the best C++ framework I've ever met.

                      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