From 80b8a05ff29ffa9e2284bbff12ebe745eaa2a5dd Mon Sep 17 00:00:00 2001 From: Vadim Peretokin Date: Sat, 31 Aug 2024 16:31:47 +0200 Subject: [PATCH] Infrastructure: echo necessary environment variables for Qt Creator setup (#7365) #### Brief overview of PR changes/additions Echo necessary environment variables for Qt Creator setup #### Motivation for adding to Mudlet Better DevEx when setting up on Windows #### Other info (issues closed, discussion etc) --- CI/setup-windows-sdk.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CI/setup-windows-sdk.sh b/CI/setup-windows-sdk.sh index 6132c96ae8a..f4d1b1954d0 100644 --- a/CI/setup-windows-sdk.sh +++ b/CI/setup-windows-sdk.sh @@ -276,4 +276,12 @@ cd ~ || exit 1 echo " ... setup-windows-sdk.sh shell script finished." echo "" +echo "Copy the following lines into the build environment for a project in Qt Creator:" +echo "See https://doc.qt.io/qtcreator/creator-how-set-project-environment.html#change-the-environment-for-a-project" +echo "" +MSYS_ROOT=$(cygpath -aw /) +echo "MINGW_BASE_DIR=${MSYS_ROOT}$(echo ${MSYSTEM_PREFIX} | sed 's/\//\\/g')" +echo "LUA_PATH=$(luarocks --lua-version 5.1 path --lr-path)" +echo "LUA_CPATH=$(luarocks --lua-version 5.1 path --lr-cpath)" + exit 0