Results 1 to 3 of 3

Thread: Linker error in windows

  1. #1
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Linker error in windows

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linker error in windows

    Did you regenerate all the makefiles after changing the location of Qt libs? Calling make distclean explicitely may be needed...

  3. #3
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Linker error in windows

    I even deleted the build directory ( I always do out of source builds )

Similar Threads

  1. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  2. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  3. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.