PDA

View Full Version : Linker error in windows



Valheru
18th August 2008, 20:51
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.

wysota
18th August 2008, 22:02
Did you regenerate all the makefiles after changing the location of Qt libs? Calling make distclean explicitely may be needed...

Valheru
18th August 2008, 22:19
I even deleted the build directory ( I always do out of source builds ) :(