Why does the size of the file grow so much with each release without changing the code?
-
@duncan98 said in Why does the size of the file grow so much with each release without changing the code?:
Are you sure this is the way to solve the problem?
Looking at the evidence, applying logic to working out what is actually happening, and then why it is happening is absolutely the way to sort the problem. Are you interested in this process?
Here are the different problems you have described (no particular order):
- You are claiming that building the same source, with the same tool chain, gives a small executable the first time, a larger executable the second, even larger the third etc. (First post)
Almost certainly not happening, and we've seen no evidence. We have seen a debug sized build come out of something like a release build
- "I uninstall qt5.15.2 and install qt5.15.1. It just works." You are not clear what "it" is. I am assuming what you mean is that building the same source against Qt 5.15.1 and Qt 5.15.2 libraries gives a reasonably sized executable and a large (debug) executable respectively.
If true, indicates that a potential problem exists in the Qt 5.15.2 library distribution (which is not Qt Creator) or something undefined/undocumented your project file does that breaks under the later version.
- Qt Creator doesn't start
If it doesn't start then surely it cannot be the cause of this problem. Seriously. Build your project outside Qt Creator and record the results. If a release build fails to generate a stable, smallish executable then the problem is absolutely not Qt Creator.
- Error in a debug build makefile while complaining about size of a claimed release build.
Someone is confused. You should be looking at the first error message, not the last (your one line screen grab).
-
Why does the size of the EXE file grow so much with each release without changing the code? The first time it was 3M, the second time it was 7M, the third time it was 10M, and the fourth time it was 100M. This is true even after a delete is rebuilt
@duncan98
I got something similar (Memory usage was increasing so immensely) along with this problem
I tried reinstalling (fully remove all things and reinstall) and it worked. it is not the answer but it can solveEDIT:
Sorry You have tried this , ButI uninstall qt5.15.2 and install qt5.15.1. It just works
I guess qt5.15.2 should have worked after re installation,
If your problem is solved,
Don't forget to mark it as solved -
@duncan98
I got something similar (Memory usage was increasing so immensely) along with this problem
I tried reinstalling (fully remove all things and reinstall) and it worked. it is not the answer but it can solveEDIT:
Sorry You have tried this , ButI uninstall qt5.15.2 and install qt5.15.1. It just works
I guess qt5.15.2 should have worked after re installation,
If your problem is solved,
Don't forget to mark it as solved@Thank-You
Hello, does what you said have anything to do with the problem? -
@Thank-You
Hello, does what you said have anything to do with the problem?@duncan98
Huh Of course, I said I faced that same problem along with more memory consumption.
And Yes It makes senseWhy does the size of the file grow so much with each release without changing the code?
You asked this question , So I said to reinstall it correctly. What's wrong with that?
And secondly
Bro If your question is solved then you should mark it as solved so that others can later see the correct answer or other peoples replying here can think it as solved -
@duncan98
Huh Of course, I said I faced that same problem along with more memory consumption.
And Yes It makes senseWhy does the size of the file grow so much with each release without changing the code?
You asked this question , So I said to reinstall it correctly. What's wrong with that?
And secondly
Bro If your question is solved then you should mark it as solved so that others can later see the correct answer or other peoples replying here can think it as solved@Thank-You The problem in this thread is not memory consumption, but growing size of the executable file after each build.
-
@duncan98
Huh Of course, I said I faced that same problem along with more memory consumption.
And Yes It makes senseWhy does the size of the file grow so much with each release without changing the code?
You asked this question , So I said to reinstall it correctly. What's wrong with that?
And secondly
Bro If your question is solved then you should mark it as solved so that others can later see the correct answer or other peoples replying here can think it as solved@Thank-You
Where did you find the problem solved? -
@Thank-You
Where did you find the problem solved? -
@Thank-You
Where did you find the problem solved? -
I uninstall qt5.15.2 and install qt5.15.1. It just works
Sir , What do you mean ?? Am I wrong or I am not understanding english
@Thank-You
Normal work may be temporary. I have good and bad times here