Qt desktop app crashing at startup
-
Darn it. It is a typo. Now it's working. I apologize for wasting your time. I'm not sure when the typo creeped in. I'm going to strip down my application in to the simplest repeatable case.
Qt 6.8.1
-
Darn it. It is a typo. Now it's working. I apologize for wasting your time. I'm not sure when the typo creeped in. I'm going to strip down my application in to the simplest repeatable case.
Qt 6.8.1
@Jennise-Hall said in Qt desktop app crashing at startup:
Darn it. It is a typo. Now it's working.
Pardon?
You pasted
maireturn a.exec();which obviously means your code could not compile. So how come there is a stack trace showing showing it running and inside theexec()and you say it crashed? -
Yes, That has me stumped. You're right it wouldn't have compiled with the typo. So, the typo must have happened when I pasted the code but, I'm no longer sure because once I fixed that line of code the program started running consistently. Nothing about this crash makes any sense to me. I am going to strip the actual application down to the simplest point that generated a crash. I'm also thinking I should update to Qt 6.11.
-
I would also check whether you have somewhere a macro that has that name or maybe a define.
-
The word "maireturn" is a Tagalog (Filipino) verb that translates to "to be able to return" or "can be returned" in English
:)
-
I wasn't expecting a linguistic analysis for a typo :-D
-
-
Well, my application is back to running. I got frustrated trying to strip down my application and decided to throw a couple of spitballs at the wall. Not for the first time, I deleted the pro.user file making sure some of the settings that were not included in the DummyMainWindow project. Re-opening the project after that and the project was once again running. I am not really sure what happened but I'm working again. So I am going to close this topic.
Thanks for catching the typo...and for the "linguistic analysis" of the typo. LOL
-
J Jennise Hall has marked this topic as solved
-
@Jennise-Hall said in Qt desktop app crashing at startup:
LOL
useful information though.
Agreed ! :-)