Skip to content

Commit

Permalink
Infrastructure: echo necessary environment variables for Qt Creator s…
Browse files Browse the repository at this point in the history
…etup (Mudlet#7365)

<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### 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)
  • Loading branch information
vadi2 authored Aug 31, 2024
1 parent 2958e5c commit 80b8a05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CI/setup-windows-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 80b8a05

Please sign in to comment.