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
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Possible values: `desktop`, `android`, `ios`, or `winrt`
44
44
Default: `desktop`
45
45
46
46
### `arch`
47
-
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.
48
48
49
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.
50
50
@@ -67,7 +67,8 @@ Android: `android_armv7`
67
67
### `dir`
68
68
This is the directory prefix that Qt will be installed to.
69
69
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`. 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.
71
72
72
73
Default: `$RUNNER_WORKSPACE`(this is one folder above the starting directory)
73
74
@@ -260,9 +261,13 @@ Example value: `--external 7z`
260
261
## More info
261
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).
262
263
263
-
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.
264
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.
265
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
+
266
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)).
267
272
268
273
This action is distributed under the [MIT license](LICENSE).
0 commit comments