Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]How Can i copy my Lib in different folder?
Qt 6.11 is out! See what's new in the release blog

[SOLVED]How Can i copy my Lib in different folder?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 931 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wwolff
    wrote on last edited by
    #1

    Hi!

    I know it´s a simple question, but my aplications are a little Big now and i start broke it in some smaller static libs just for convenience, and i setup a specific forder to mantain the lib and include files to be linked with the main project.

    But now , everytime i need recompile a lib, i must copy the compiled lib to the correct folder....

    There is a way to when i compila a lib , i transfer a copy of the compiled file lib file to another folder(Like a Libs Folders?)

    In this way i can open Both projects and compile them withou worry about everytime i change the Lib i Must copi it to the correct Folder....

    Any Sugestion?

    Kind Regards.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      You can use
      @DESTDIR = ../path@
      take a look to "DESTDIR":https://qt-project.org/doc/qt-5/qmake-variable-reference.html#destdir and "qmake manual":https://qt-project.org/doc/qt-5/qmake-manual.html .

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wwolff
        wrote on last edited by
        #3

        Hi!

        Thanks so much!

        Solve the problem perfectly!

        Kind Regards.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved