Run settings: only a few variables available?



  • 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@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.