The code is inconsistent with the execution
-
hi,all.QT has a strange problem where the code is inconsistent with the execution, as if the code changes are not applied to the application.This is true even if the compilation directory is cleared.For example, if a piece of code is commented, it still works
-
hi,all.QT has a strange problem where the code is inconsistent with the execution, as if the code changes are not applied to the application.This is true even if the compilation directory is cleared.For example, if a piece of code is commented, it still works
Then one or more of these things is true:
- You are not compiling the source code you think you are. This could be because there are several copies of the source, or because the project file does not list all the components, or the project file has changed but not been reprocessed.
- You are not compiling into the directory you think you are.
- You are not running the executable that the compilation has produced. Are you building a release version but running an older debug version for example.
There is no way for us to diagnose this for you.