I have built QT in one directory and then, realizing that this directory is not where I wanted QT to be, physically moved the entire QT tree to a different directory.

Say, originally QT was build in C:\A and then moved to C:\B. More, C:\A had been removed and no longer exists.

Now, for example if I am calling QApplication::libraryPaths(), it returns two directories: C:\A and my app directory.

So, the question is: should QT be rebuild every time the QT tree is moved or there is some setting somewhere that reconfigures it?