Results 1 to 2 of 2

Thread: how to manage dll internal dependencies (LUA C module)

  1. #1
    Join Date
    Oct 2011
    Posts
    27
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to manage dll internal dependencies (LUA C module)

    Hi,

    I'm creating a LUA C module using Qt4, so, my dll depends on libstdc++, libwinpthread, QtCore4 and QtGui4.
    I would have loved to put all my dll in a "lib" folder near the executed Lua script but i can not achieve to do that.
    At least, how could it be possible to avoid putting the dll in the system32 dir or in the Lua interpreter directory ?
    (and maybe, later, I'll need the imageformats dll dir ...)

    I use Qt 4.8.6, mingw4.8.2 and lua 5.2.4, 32bits.
    The LUA IDE I use is eclipse (lua developpement tools) if it may offer any auxiliary solution...

    (And static linking is not an option for licence reasons)

    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to manage dll internal dependencies (LUA C module)

    Putting the DLLs in the same location as your DLL, not a lib subfolder, should work on Windows. You may also be able to do something magical and non-Qt with manifest files to load specific DLLs from known locations.

Similar Threads

  1. How to manage windows efficiently?
    By aprado in forum Newbie
    Replies: 1
    Last Post: 12th April 2013, 19:43
  2. Replies: 0
    Last Post: 5th August 2012, 01:03
  3. best way to manage forms?
    By skuda in forum Qt Programming
    Replies: 4
    Last Post: 7th December 2009, 08:38
  4. Use Organigramm to manage database
    By Mefisto in forum Qt Programming
    Replies: 1
    Last Post: 11th March 2009, 10:45
  5. How to manage QPainter?
    By Caius Aérobus in forum Qt Programming
    Replies: 3
    Last Post: 28th April 2006, 13:20

Tags for this Thread

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.