Results 1 to 2 of 2

Thread: Shared Object In Qt and Linking to main application

  1. #1
    Join Date
    Feb 2011
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Post Shared Object In Qt and Linking to main application

    Hi all,

    I want to create a shared object in QT (same as dll in windows ) and want to use that dll in my own qt application .However i am getting undefined refrence to one of my function which i want to export. so please what would be the possible reasons

    Thanks in Advance

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Shared Object In Qt and Linking to main application

    Are you working under windows?
    If so, you ARE creating a DLL.
    However i am getting undefined refrence to one of my function which i want to export.
    While you are trying to build your DLL, or when you try to link to it?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 10
    Last Post: 20th December 2015, 11:14
  2. libQtWebKit.so.4: cannot open shared object file
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2010, 13:27
  3. KDE shared object file is missing
    By SimbadSubZero in forum Qt Programming
    Replies: 0
    Last Post: 13th December 2009, 14:43
  4. Replies: 4
    Last Post: 26th June 2007, 19:19
  5. cannot find shared object file libstdc++.so.6
    By chandrabose.s in forum Qt Programming
    Replies: 2
    Last Post: 27th March 2006, 11:56

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.