Not sure how it works with Qt Creator, but you have two compilation modes: debug (fully instrumented, where you can trace into the code and the software can detect some bugs, etc. - However it's very slow) and release moee (no check, but fast). You can't mix them.
This is standard mechanisms, it's not specific to Cloudcompare.
Daniel, CloudCompare admin