Results 1 to 4 of 4

Thread: Path for a dll , is it possible ?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Path for a dll , is it possible ?

    I have several apps using one dll .
    Any change to a dll forces me to copy the dll to every path of every app that use this dll.
    I think that I would use a .bat to make this copy, but Is there any way to say QTCreator, 'Hey, this dll is located at .... ' at least at debug mode.
    Thanks

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

    Default Re: Path for a dll , is it possible ?

    It's nothing to do with QtCreator. The OS searches for DLLs in the directories specified by the PATH environment variable.

    Simply put your DLL in a directory specified by this variable and you only need one copy of it.

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

    tonnot (9th December 2010)

  4. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Path for a dll , is it possible ?

    mmm
    Ok, so I can create my_dll folder, add it to path and it is ok , isn't ?

  5. #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: Path for a dll , is it possible ?

    Yes, thats all there is to it.

Similar Threads

  1. How do we set our PATH?
    By ardisaz in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 28th November 2010, 18:27
  2. Replies: 8
    Last Post: 17th October 2009, 08:10
  3. Lib path
    By yagabey in forum Qt Programming
    Replies: 4
    Last Post: 3rd April 2009, 15:01
  4. g++ include path
    By LMZ in forum Newbie
    Replies: 2
    Last Post: 8th May 2007, 13:45
  5. Which path should I use?
    By Dark_Tower in forum Newbie
    Replies: 3
    Last Post: 8th April 2006, 12:09

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.