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. Run settings: only a few variables available?
Forum Updated to NodeBB v4.3 + New Features

Run settings: only a few variables available?

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 634 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.
  • P Offline
    P Offline
    postb99
    wrote on last edited by
    #1

    Hello,

    When using Visual Studio, I have a bunch of "macro" variables to use in my pre/post build scripts.

    Now I use Qt Creator 3.0 and to test a library I am coding, I configured run settings to copy my library dll file to a directory where I have a launcher program.

    I read: https://qt-project.org/doc/qtcreator-3.0/creator-build-settings.html

    So far so good, but why do I have only %{buildDir} variable? In case of shadow build, which is enabled by default, my library path is %{buildDir}\release or %{buildDir}\debug.

    So the following xcopy is OK but I ideally would like more variables... one for
    @%{buildDir}\release@
    and one for
    @myLib.dll@

    in this command:

    @%{buildDir}\release\myLib.dll %myTargetDir%\ /R /Y@

    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