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. How to know Shadow build directory in pro file?

How to know Shadow build directory in pro file?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 5.0k 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.
  • S Offline
    S Offline
    sevenjay
    wrote on last edited by
    #1

    How to know or set the shadow build directory path in pro file?
    I have a execute binary and some libraries build in shadow build directory.
    And I want to deploy it using INSTALLS in the pro file.
    But I can't tell the build directory path.

    @target.path = /usr/local/bin

    lib.files += $$shadow_build_directory/lib/*
    lib.path += /usr/lib

    INSTALLS += target lib@

    thanks

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      $$OUT_PWD is what you need I think.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      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