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).
0 commit comments