Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

using Environment vars in build params?



  • On Windows, I go to the menu bar and pick Tools -> Options… -> Kits, i select my Kit, then next to "Environment" i click "Change", then enter these values:

    env_vars.png

    Then in my project, i click the "Projects" button, then click "Build", and i check "shadow build", then in "Build Directory" i put this line:

    build_dir.png

    However, when i look below under "Build Steps", next to "Make", which should show the resolved path, i see this:

    not_resolved.png

    and indeed, it builds to that (wrong) path. the path should end with "…\CFTest\win_64-CFTest"

    What am i missing?


Log in to reply