I am getting a link error on QtSvg when trying to compile a program on windows Vista. I am using KDE4Win, not that it matters I think. I had previously installed it to D:\kde\kde-mingw, and then uninstalled it an installed it on C:\kde. All my environment variables have been changed accordingly to point to the new location. However, when I try and compile my program, after compiling all the object files the linker fails, with the error message that it can't find the QtSvg library in D:\kde\kde-mingw. Obviously some setting is still pointing to that location, probably a registry settings, but I can't find it. Does anyone know what to change/delete? I am using CMake 2.6 to build the project, although cmake finds Qt with no problems and configures it ok AFAICS.