Results 1 to 3 of 3

Thread: Probably missing linkers

  1. #1
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Probably missing linkers

    I have downloaded this project https://github.com/owncloud/sync-qt next i did some modification to it. I have added this files https://github.com/frankosterfeld/qtkeychain and http://www.opensource.apple.com/sour...urce/sqlite3.h because of a missing libraries

    Now the problem is that i have got those issues:

    error: cannot find -lqtkeychain
    error: cannot find -lsqlite3
    error: cannot find -lkparts
    error: cannot find -lkdeui
    error: cannot find -lkdecore
    error: collect2: error: ld returned 1 exit status

    My OS is Fedora 18 64bit I am using Qt Creator 2.5.0 Based on Qt 4.8.2 (64 bit)

    I think probably this error is that i have some missing linkers !! but i don't know how to fix that ??
    Sliver_Twist

  2. #2
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Probably missing linkers

    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,618
    Thanks
    13
    Thanked 1,592 Times in 1,520 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Probably missing linkers

    The linker needs to be told where to find libraries that are not on the system standard paths:
    Qt Code:
    1. LIBS += -L/path/containing/sqlite/library -lsqlite3
    2. LIBS += -L/path/containing/qtkeychain/library -lqtkeychain
    3. LIBS += -L/path/containing/kde/libraries -lkparts -lkdeui -lkdecore
    To copy to clipboard, switch view to plain text mode 
    Of course, the libraries must also exist. The Sqlite and KDE libraries should exist in standard places if they are installed using Fedora tools.

Similar Threads

  1. setCurveType missing in Qwt 6.0.1?
    By chinalski in forum Qwt
    Replies: 6
    Last Post: 26th February 2012, 15:36
  2. SQLite -- obviously missing something...
    By scott_hollen in forum Newbie
    Replies: 10
    Last Post: 27th January 2011, 21:21
  3. help section missing
    By sattu in forum Newbie
    Replies: 2
    Last Post: 4th January 2011, 12:24
  4. Missing tileVertically()
    By zarkzervo in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2009, 07:01
  5. libQtGui_debug.so.4 missing
    By fwohlfert in forum Installation and Deployment
    Replies: 2
    Last Post: 5th October 2006, 19:07

Tags for this Thread

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.