Qt5 is better than Qt6
-
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 problemsWhy 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
-
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 problemsWhy 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
wrote 21 days ago last edited by Pl45m4@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 :) -
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 problemsWhy 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
@DevWinDemon said in Qt5 is better than Qt6:
qt6 empty app weights 45MB comparing with 30MB stable static qt5 app
Then use a static Qt6 build and link your app statically instead of comparing apples to oranges.
And before complaining like you do you should really first learn how things (like shared libraries) work... -
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 problemsWhy 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
wrote 20 days ago last edited by@DevWinDemon It is an installation issue, not Qt5 or Qt6 problem. Be aware that Qt plugins need Qt libs as well. Therefore try to set Qt plugin and lib paths for your app. You are good to go.
-
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 problemsWhy 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
wrote 19 days ago last edited by@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.)
-
@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 :)@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
-
@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
wrote 9 days ago last edited by Pl45m4 6 Jan 2025, 20:47Everything 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.
-
@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
wrote 8 days ago last edited by@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.
-
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.
@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.
-
@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.
@DevWinDemon said in Qt5 is better than Qt6:
so how then qt 5 apps working? With no libs?
[[redacted]]
-
@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.
@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
-
@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
This post is deleted! -
This post is deleted!
-
This post is deleted!
-
This post is deleted!
wrote 4 days ago last edited by JonB 4 days ago@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.
-
@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.
wrote 4 days ago last edited byThe 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 :) -
@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
wrote about 8 hours ago last edited by@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.