When you change an external library, your Qt project is not recompiled. By default, qmake does not include external libraries in the dependencies for the final executable, because they are not part of the project itself. This can easily be solved by adding a forced dependency in the .pro file:

POST_TARGETDEPS += /libpath/libCAD.a