Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Copying supporting DLL to DESTDIR
Forum Updated to NodeBB v4.3 + New Features

Copying supporting DLL to DESTDIR

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 3.6k 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
    WilliamU
    wrote on last edited by
    #1

    Hi, I am trying (in vain) to copy my project's supporting DLLs to the DESTDIR.

    I have in my .pro file
    @
    debug {
    DESTDIR = C:/Users/william/Perforce/Build/Executables/x64/$$TARGET/Debug
    POST_TARGETDEPS += C:/Users/william/Perforce/Build/Libraries/QT/Debug/Input.dll
    POST_TARGETDEPS += C:/Users/william/Perforce/Build/Libraries/QT/Debug/Output.dll
    for(dll, POST_TARGETDEPS){QMAKE_POST_LINK = copy "$$dll" "$$DESTDIR/"}
    }
    @
    My executable arrives correctly but I get the following error build
    xilink: executing 'link'
    copy C:/Users/william/Perforce/Build/Libraries/QT/Debug/Output.dll C:/Users/william/Perforce/Build/Executables/x64/Monitor/Debug/
    The syntax of the command is incorrect.

    Does anyone have any suggestions.

    Regards,

    William

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Make it GREAT again
      wrote on last edited by
      #2

      Hi, 10 years later. How did you solve this?

      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