Results 1 to 13 of 13

Thread: Adding a shared library to a qt application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2017
    Posts
    7
    Thanks
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Adding a shared library to a qt application

    Hi,
    I am trying to add an external library to a qt application. But after building the application its showing cannot recognize file format. Library is in .so format and I am working on linux. Please help.

  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: Adding a shared library to a qt application

    Not sure I follow.
    But after building the application
    It sound like you can build the application.
    If this is true, then your lib is linked as it should, otherwise the linker would complain.

    I guess what is not so clear is what do you mean with "adding" the lib.
    More information would help.

    It sound more like your are trying the open an *.so file with your application.
    Is that the case?
    ==========================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. Depoyment Qt application as Shared Library
    By norrbotten68 in forum Qt Programming
    Replies: 2
    Last Post: 23rd April 2014, 00:13
  2. Using symbols from loading application in shared library
    By barteksch in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2010, 17:08
  3. How to deploy application using shared library in Linux
    By cutie.monkey in forum Installation and Deployment
    Replies: 9
    Last Post: 21st January 2010, 18:41
  4. Application with shared library problem in linux
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2010, 07:20
  5. qmake: dependency of application on common shared library
    By PeterWurmsdobler in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2009, 16:13

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
  •  
Qt is a trademark of The Qt Company.