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.2k 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:

    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 Online
    S Online
    SimonSchroeder
    wrote on 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
    0
    • Pl45m4P Pl45m4

      @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 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
      4
      • 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 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 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 last edited by
            #12
            This post is deleted!
            1 Reply Last reply
            0
            • S Offline
              S Offline
              stop banning me lol
              Banned
              wrote 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 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 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 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 Online
                      S Online
                      SimonSchroeder
                      wrote 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 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