jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
455 stars 78 forks source link

[v4] Fix `Qt5_DIR` environment variable #190

Closed ddalcino closed 1 year ago

ddalcino commented 1 year ago

Fix #184.

This adds the QT_ROOT_DIR environment variable that takes the place of the old Qt5_DIR and Qt6_DIR variables, and points Qt5_DIR to the location that CMake expects.

Breaking changes are documented in the README_upgrade_guide.md file.

Please be aware that this is not a bug fix. I added a CMakeLists.txt file to the test project, so that each test run can configure a test project with CMake; these tests were passing before I made any code changes. The changes here are meant to make the action easier for users to understand:

This PR should not be merged into v3 of this action, owing to breaking changes.