Results 1 to 11 of 11

Thread: Load objects from dynamic library

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    29
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Load objects from dynamic library

    Hi, I want load objects with dynamic library without result ;/
    I add in *.pro file:
    Qt Code:
    1. LIBS += -Lpath -lname
    To copy to clipboard, switch view to plain text mode 
    and in *.cpp or *.h
    Qt Code:
    1. extern "C" class __declspec(dllimport) testclass{};
    To copy to clipboard, switch view to plain text mode 

    It doesn't work. Why? Does it good prepare?
    Last edited by Trok; 18th June 2009 at 11:37.

Similar Threads

  1. Generating a static and dynamic library
    By elcuco in forum Qt Programming
    Replies: 3
    Last Post: 20th August 2011, 11:46
  2. HELP! QtLibrary.. Load library failed!!
    By Cantora in forum Newbie
    Replies: 1
    Last Post: 10th June 2009, 10:18
  3. How to load library on linux dynamically?
    By zhehongwang in forum Qt Programming
    Replies: 3
    Last Post: 5th February 2009, 08:35
  4. Lumina GLSL IDE based on QtScript and dynamic Objects
    By oc2k1 in forum Qt-based Software
    Replies: 0
    Last Post: 12th August 2008, 04:12

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.