Results 1 to 2 of 2

Thread: Re: Problems using DLL & .so libz

  1. #1
    Join Date
    Apr 2006
    Posts
    5
    Thanks
    1
    Platforms
    Unix/X11 Windows

    Default Re: Problems using DLL & .so libz

    hi friends,
    can u tell me how to link against .so library in Linux (suse 9.3).
    i have precompiled library libxxx.so. I am writting a code in Qt4. i wanna call few functions from lib dynamically. when i load lib using Qlibrary::load() it works fine also unload() is working. But i am not getting functions from lib.
    Could any one tell me steps i should follow or the links where i can get steps or example code....
    thanx

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems using DLL & .so libz

    You need QLibrary only when you want to load and unload your library in the runtime. If you need that library all the time, just link against it. If you use qmake, just add "LIBS += -lxxx" to your .pro file.

Similar Threads

  1. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 19:11
  2. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38
  3. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  5. problems with Opengl
    By SlawQ in forum Qt Programming
    Replies: 4
    Last Post: 12th February 2006, 22:49

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.