You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the directory prefix that Qt will be installed to.
63
69
64
-
For example, if you set dir to `${{ github.workspace }}/example/`, your bin folder will be located at `$GITHUB_WORKSPACE/example/Qt/5.15.2/{arch}/bin`. When possible, access your Qt directory through the `Qt5_DIR` or `Qt6_DIR` environment variable.
70
+
For example, if you set dir to `${{ github.workspace }}/example/`, your bin folder will be located at `$GITHUB_WORKSPACE/example/Qt/5.15.2/{arch}/bin`.
71
+
When possible, access your Qt directory through the `QT_ROOT_DIR` environment variable; this will point to `$GITHUB_WORKSPACE/example/Qt/5.15.2/{arch}` in this case.
65
72
66
73
Default: `$RUNNER_WORKSPACE`(this is one folder above the starting directory)
67
74
@@ -254,9 +261,13 @@ Example value: `--external 7z`
254
261
## More info
255
262
For more in-depth and certifiably up-to-date documentation, check the documentation for aqtinstall [here](https://aqtinstall.readthedocs.io/en/latest/getting_started.html).
256
263
257
-
The Qt bin directory is appended to your `path` environment variable. `Qt5_DIR`/`Qt6_DIR` is also set appropriately for CMake.
264
+
The Qt bin directory is appended to your `path` environment variable.
265
+
`Qt5_DIR`is also set appropriately for CMake if you are using Qt 5.
258
266
In addition, `QT_PLUGIN_PATH`, `QML2_IMPORT_PATH`, `PKG_CONFIG_PATH` and `LD_LIBRARY_PATH` are set accordingly. `IQTA_TOOLS` is set to the "Tools" directory if tools are installed as well.
259
267
268
+
Since the Qt bin directory is in your `path`, you will not need to set the `CMAKE_PREFIX_PATH` CMake variable.
269
+
If you wish to do so, you can set it to either `${QT_ROOT_DIR}` or to `${QT_ROOT_DIR}/lib/cmake`.
270
+
260
271
Big thanks to the [aqtinstall](https://github.com/miurahr/aqtinstall/) developer for making this easy. Please go support [miurahr](https://github.com/miurahr/aqtinstall), he did all of the hard work here ([his liberapay](https://liberapay.com/miurahr)).
261
272
262
273
This action is distributed under the [MIT license](LICENSE).
* Added the `QT_ROOT_DIR` environment variable that points to the root of the Qt installation.
5
+
This variable points to the same directory as the old `Qt5_DIR` and `Qt6_DIR` variables.
6
+
* Changed `Qt5_DIR` environment variable, so that it points to `${QT_ROOT_DIR}/lib/cmake`, as required by CMake.
7
+
If your action uses this variable for any other purpose, you should update it to use `QT_ROOT_DIR` instead.
8
+
* Removed the `Qt5_Dir` and `Qt6_DIR` environment variables, because they are not used by CMake.
9
+
If your action uses these variables, you should update them to use `QT_ROOT_DIR` instead.
10
+
11
+
## v3
12
+
* Updated `aqtinstall` to version 2.1.* by default.
13
+
See [changelog entry](https://github.com/miurahr/aqtinstall/blob/master/docs/CHANGELOG.rst#v210-14-apr-2022) for details.
14
+
*`aqtinstall` v 2.1.0 now checks that the SHA256 checksums reported at https://download.qt.io matches the 7z archives
15
+
that it downloads [aqtinstall#493](https://github.com/miurahr/aqtinstall/pull/493).
16
+
This change was necessary because the old checksum algorithm, SHA1, is no longer safe to use for this purpose.
17
+
Unfortunately, SHA256 checksums are often not available for up to 24 hours after new 7z archives are made available at
18
+
https://download.qt.io, and workflows that use `aqtinstall` v 2.1.0 will fail to install Qt properly during that window.
19
+
See [aqtinstall#578](https://github.com/miurahr/aqtinstall/issues/578) for further discussion.
0 commit comments