Results 1 to 3 of 3

Thread: Linker error

  1. #1
    Join Date
    Sep 2006
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Linker error

    Hi All,
    I'm developing a little project to view the svg files with Qt4 (Qt4.1.4) under Kubuntu 6.06.1 .

    Up to yesterday I had no problems, but today I reformatted the Hard Disk and I reinstalled the same version of Kubuntu, and now when I try to compile every project that use QtSvg module, the linker give me the following message:

    /usr/bin/ld: cannot find -lQtSvg_debug
    collect2: ld returned 1 exit status
    make: *** [svgtest] Error 1

    (Compiling svgviewer.pro in the Qt example files return the same error...).

    I downloaded the file qt-x11-opensource-src-4.1.4.tar.gz from the Trolltech web site, and I recompiled and I reinstalled the entire Qt4, but nothing changed...

    What's the problem?
    How can I get lQtSvg_debug?

    Thanks

  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

    Compile Qt in debug mode (for example pass -debug into configure, see configure -help for details) or compile your project in release mode (CONFIG+=release in project file).

  3. #3
    Join Date
    Sep 2006
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Linker error

    Compiling the project in release mode I have the problem fixed, but recompiling the Qt with -debug option the problem persist... I don't know why...
    Finally I downloaded the libqt4-debug-dev packect from anther repository by Synaptic and now the probem is solved.

    Thanks a lot!

Similar Threads

  1. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  2. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  3. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 19:11
  4. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 12:57
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.