PDA

View Full Version : Problem with compilation in release mode.



code_err
21st October 2011, 22:36
When i compile my code in debug mode i everything is fine, program compiles and starts normally. But when I'm trying to do the same thing in release mode program doesn't appear, i mean main windows doesn't show and after a while app terminates.
I use external dlls - qextserialport, adequate to debug and release modes.
I need some hints what can i do to find what is wrong. I use command line and Mingw32 not Qt Creator suit.

Was trying to find answer on forum but didn't find any useful.

stampede
22nd October 2011, 01:05
What is the app exit code ?

code_err
22nd October 2011, 13:55
Windows tells me that program stopped functioning and gives me 3 links to two xmls and memory dump and ask me if i want to send informations to them.
But after few executions there is no information about problems. Application starts and terminates quietly. I can see it for a while in task manager.

In debug mode program works perfectly.

code_err
22nd October 2011, 17:02
Ok, i have solved this problem. I can't still get used that problems with moc are not compilation phase bugs. I had one signal to nonexistent object on heap and there was memory protection error. I removed object but forgot about signals and slots.