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

A qmake variable for build-type-kit-name path $${OUT_PWD}/<build-type-kit-name-directory> ?



  • My Qt project's build output is located under a kit name, for example:
    @$$PWD}/../build-tsr-iphonesimulator_clang_Qt_5_3_for_iOS-Debug/Debug-iphonesimulator/@

    $${OUT_PWD} returns the first part of the path shown below:
    @/Users/<username>/projects/build-tsr-iphonesimulator_clang_Qt_5_3_for_iOS-Debug/@

    Is there a qmake variable that will return the last part, the <build-type-kit-name-directory>? In this example, the folder named
    @/Debug-iphonesimulator/@

    Thanks in advance,
    -Ed


Log in to reply