Results 1 to 4 of 4

Thread: Loading and managing common DLLS

  1. #1
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Loading and managing common DLLS

    Hi,
    My project contains more than two launch-able application which shares common dlls. I am developing the applications in Qt4.4 in VS2008. Since each application has its own folders, i need to copy all the related dlls into same folders.
    But i need to keep common dlls in a separate folder and allow all the application to use the dependent dlls from there(Hence i can reduce of my application from duplicate dlls).
    Can anyone tell me how can i accomplish this????


    Thanks in advance

  2. #2
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: Loading and managing common DLLS

    Maybe, putting your dlls in C:\WINDOWS\system32? Or adding your dlls directory path to PATH in environment variables.

  3. #3
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Loading and managing common DLLS

    Yes. That's one way.. But i don't think this solution is encourage-able..

    I want solution to be in such away that there will be common folder inside my installation path and common folder contains the shared DLLs. Installation shouldn't modify system files or PATH variables

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Loading and managing common DLLS

    I downloaded "Data Center" for Beagle recently. It's written in Qt4 and has the libraries in a folder called "lib". Perhaps it will give you ideas?

    http://www.totalphase.com/download/z...dows-v4.20.zip

  5. The following user says thank you to squidge for this useful post:

    navi1084 (22nd July 2010)

Similar Threads

  1. Managing data in a TableView
    By scarleton in forum Qt Programming
    Replies: 6
    Last Post: 11th June 2010, 00:48
  2. Using a common datamodel across dialogs?
    By Frozenjim in forum Qt Programming
    Replies: 1
    Last Post: 14th October 2008, 00:14
  3. managing workerthreads
    By darksaga in forum Qt Programming
    Replies: 4
    Last Post: 20th August 2007, 18:26
  4. Common icon repository
    By brcain in forum Newbie
    Replies: 2
    Last Post: 27th September 2006, 19:30

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.