Results 1 to 5 of 5

Thread: Embedding a custom DLL on Mac

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Posts
    27
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Embedding a custom DLL on Mac

    I want to build a Qt project that uses another Qt project. I have (barely, and with little help from the docs) got this working with the embedded project as a static library, but want to make it work with dynamic libraries.

    I figured the first step would be changing the staticlib in the library project to be dll. That's got the library compiling and linking again, although until I get something using it I'm not sure it's really working.

    I removed the output statlic library and ran qmake on the application project, and that seems to compile and link. The result won't run, apparently because it can't find the library. I'm not sure where the library should be within the bundle, though.

    Ideally, I'd like for the application project to build an application with the dylib output by the library project copied into the appropriate place in the application bundle.

    Any tips?
    Last edited by sdfisher; 26th March 2007 at 20:36.

Similar Threads

  1. Replies: 1
    Last Post: 5th March 2007, 20:50
  2. Custom Widget Plugin Analog Clock
    By kemp in forum Qt Programming
    Replies: 8
    Last Post: 11th August 2006, 13:22
  3. Custom Qt dll name
    By tony007 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th March 2006, 15:29
  4. Replies: 16
    Last Post: 7th March 2006, 15:57
  5. Replies: 4
    Last Post: 1st March 2006, 23:11

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.