Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Changes to code aren't being compiled



  • I'm having a bizarre problem in which some modifications I've made to code are not being compiled into the binary. Each time I try to debug the code, the debugger seems to act as if my code was in the state it was a few months ago. It acts kind of like it does sometimes when the binary is out of sync with the code, but I've deleted and recompiled the binary several times and I'm still not seeing my changes reflected.

    When I step through with the debugger, new variables I've created are being ignored, empty lines are being 'executed', lines that are not part of a loop are acting as if they are and in general lines with code to not reflect what happening with the program. My changes aren't reflected in the binary either. What's going on?



  • Looks like someone changed the name of the binary and the old binary was still being used.. Once I switched, that fixed things.



  • Looks like someone changed the name of the binary and the old binary was still being used.. Once I switched, that fixed things.


Log in to reply