PDA

View Full Version : Release build not fully functional



xeyos
24th October 2014, 17:24
Hi, im using QTCreator to compile my QT project with mingw 32 bit. Thing is, while building as debug, everything is working fine but, if i change to release, something begins to missfunction without a warning.
More specifically, im working on a chat service, when im in debug mode, and someone clicks on his friend's name or join a room, a new tab is open with a widget in it that contains the chat text and people.
In release mode (same console, still into the creator enviroment), everything seems ok, but the new tab is never open, simply nothing happens and no error is shown in console. Any idea?

ChrisW67
24th October 2014, 20:18
Your code is relying on something that is removed by the pre-processor for release builds, or relying pn the side-effects of a debugging statement that is not executing in release mode, or... We would have to guess for a long time.

xeyos
26th October 2014, 17:12
Found the bug. Just other people having the same issue:
It was an uninitiallized boolean. Default on debugger seems to be false but in release it switches for a true....(mingw)