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
@@ -38,7 +44,7 @@ Possible values: `desktop`, `android`, `ios`, or `winrt`
38
44
Default: `desktop`
39
45
40
46
### `arch`
41
-
This is the target architecture that your program will be built for. This is only used for Windows and Android.
47
+
This is the target architecture that your program will be built for.
42
48
43
49
**Linux x86 packages are not supported by this action.** Qt does not offer pre-built Linux x86 packages. Please consider using your distro's repository or building it manually.
44
50
@@ -61,7 +67,8 @@ Android: `android_armv7`
61
67
### `dir`
62
68
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
@@ -214,12 +221,12 @@ Default: `false`
214
221
215
222
Version of [aqtinstall](https://github.com/miurahr/aqtinstall) to use, given in the format used by pip, for example: `==0.7.1`, `>=0.7.1`, `==0.7.*`. This is intended to be used to troubleshoot any bugs that might be caused or fixed by certain versions of aqtinstall.
216
223
217
-
Default: `==2.1.*`
224
+
Default: `==3.1.*`
218
225
219
226
### `py7zrversion`
220
227
Version of py7zr in the same style as the aqtversion and intended to be used for the same purpose.
221
228
222
-
Default: `==0.19.*`
229
+
Default: `==0.20.*`
223
230
224
231
### `extra`
225
232
This input can be used to append arguments to the end of the aqtinstall command for any special purpose.
@@ -246,17 +253,21 @@ Example value: `--external 7z`
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).
* Updated `aqtinstall` to version 3.1.* by default.
5
+
* Use the `--autodesktop` flag to automatically install the desktop version of Qt, parallel to any WASM or mobile
6
+
versions of Qt 6.2 and above.
7
+
* If your action installed Qt 6.2+ for Android or WASM using `install-qt-action@v3`, then your action would have
8
+
needed to install the desktop version of Qt alongside the WASM/mobile version of Qt, otherwise it would not have
9
+
worked properly. As long as you are using `aqtinstall v3` or higher, the new version of `install-qt-action` will do
10
+
that automatically, so you can remove the second step where you add the parallel desktop version of Qt.
11
+
If you don't, your workflow will install desktop Qt twice.
12
+
* Added the `QT_ROOT_DIR` environment variable that points to the root of the Qt installation.
13
+
This variable points to the same directory as the old `Qt5_DIR` and `Qt6_DIR` variables.
14
+
* Changed `Qt5_DIR` environment variable, so that it points to `${QT_ROOT_DIR}/lib/cmake`, as required by CMake.
15
+
If your action uses this variable for any other purpose, you should update it to use `QT_ROOT_DIR` instead.
16
+
* Removed the `Qt5_Dir` and `Qt6_DIR` environment variables, because they are not used by CMake.
17
+
If your action uses these variables, you should update them to use `QT_ROOT_DIR` instead.
18
+
19
+
## v3
20
+
* Updated `aqtinstall` to version 2.1.* by default.
21
+
See [changelog entry](https://github.com/miurahr/aqtinstall/blob/master/docs/CHANGELOG.rst#v210-14-apr-2022) for details.
22
+
*`aqtinstall` v 2.1.0 now checks that the SHA256 checksums reported at https://download.qt.io matches the 7z archives
23
+
that it downloads [aqtinstall#493](https://github.com/miurahr/aqtinstall/pull/493).
24
+
This change was necessary because the old checksum algorithm, SHA1, is no longer safe to use for this purpose.
25
+
Unfortunately, SHA256 checksums are often not available for up to 24 hours after new 7z archives are made available at
26
+
https://download.qt.io, and workflows that use `aqtinstall` v 2.1.0 will fail to install Qt properly during that window.
27
+
See [aqtinstall#578](https://github.com/miurahr/aqtinstall/issues/578) for further discussion.
0 commit comments