generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add commercial support, fix WASM and issues with Qt 6.7.+ #272
Open
Kidev
wants to merge
11
commits into
jurplel:master
Choose a base branch
from
Kidev:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
fef7975
To fix issues with Qt 6.7+ and match with aqtinstall, allows 'all_os'…
Kidev 0a2cd94
Update README.md
Kidev 15aa965
Update main.ts
Kidev 8364bca
Update action.yml
Kidev f4beefa
Update action.yml
Kidev 445a833
Update README.md
Kidev 714de73
Add commercial support
Kidev a4f278c
Merge branch 'master' into master
jurplel 70d5292
Merge branch 'master' into master
jurplel 944dd8e
Fix error TS2322
Kidev be6a2f9
Update to latest aqtinstall syntax, fix README
Kidev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -23,7 +23,7 @@ The desired version of Qt to install. | |||||||||
|
||||||||||
You can also pass in SimpleSpec version numbers, for example `6.2.*`. | ||||||||||
|
||||||||||
Default: `5.15.2` (Last Qt 5 LTS) | ||||||||||
Default: `6.8.1` (Last Qt 6 LTS) | ||||||||||
|
||||||||||
**Please note that for Linux builds, Qt 6+ requires Ubuntu 20.04 or later.** | ||||||||||
|
||||||||||
|
@@ -32,14 +32,14 @@ This is the host platform of the Qt version you will be installing. It's unlikel | |||||||||
|
||||||||||
For example, if you are building on Linux and targeting desktop, you would set host to `linux`. If you are building on Linux and targeting android, you would set host to `linux` also. The host platform is the platform that your application will build on, not its target platform. | ||||||||||
|
||||||||||
Possible values: `windows`, `mac`, or `linux` | ||||||||||
Possible values: `windows`, `mac`, `linux` or `all_os` | ||||||||||
|
||||||||||
Defaults to the current platform it is being run on. | ||||||||||
|
||||||||||
### `target` | ||||||||||
This is the target platform that you will be building for. You will want to set this if you are building for iOS or Android. Please note that iOS builds are supported only on macOS hosts and Win RT builds are only supported on Windows hosts. | ||||||||||
|
||||||||||
Possible values: `desktop`, `android`, `ios`, or `winrt` | ||||||||||
Possible values: `desktop`, `android`, `ios`, `winrt` or `wasm` | ||||||||||
|
||||||||||
Default: `desktop` | ||||||||||
|
||||||||||
|
@@ -74,6 +74,32 @@ When possible, access your Qt directory through the `QT_ROOT_DIR` environment va | |||||||||
|
||||||||||
Default: `$RUNNER_WORKSPACE` (this is one folder above the starting directory) | ||||||||||
|
||||||||||
### `use-official` (since `v4.3.0`) | ||||||||||
Whether or not to use `aqtinstall` to install Qt using its official online installer (enabling the commercial versions | ||||||||||
for those owning a license). | ||||||||||
The parameter `host` will then be ignored, as you can only install commercial Qt versions on the OS running the installer. | ||||||||||
Example: | ||||||||||
```yml | ||||||||||
- name: Install Qt | ||||||||||
uses: jurplel/install-qt-action@v4 | ||||||||||
with: | ||||||||||
version: '5.15.3' | ||||||||||
target: 'desktop' | ||||||||||
arch: 'win64_msvc2019_64' | ||||||||||
aqtsource: 'git+https://github.com/Kidev/aqtinstall.git@install_qt_commercial' | ||||||||||
use-official: true | ||||||||||
email: '****@gmail.com' | ||||||||||
pw: '****' | ||||||||||
Comment on lines
+91
to
+92
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Kidev Or perhaps (to prevent any unfortunate mistakes 😅):
Suggested change
|
||||||||||
``` | ||||||||||
|
||||||||||
Default: `false` | ||||||||||
|
||||||||||
#### `email` | ||||||||||
If `use-official` is true, will use this username/email to authenticate with Qt servers | ||||||||||
|
||||||||||
#### `pw` | ||||||||||
If `use-official` is true, will use this password to authenticate with Qt servers | ||||||||||
|
||||||||||
### `install-deps` | ||||||||||
Whether or not to automatically install Qt dependencies on Linux through `apt`. | ||||||||||
|
||||||||||
|
@@ -246,7 +272,7 @@ By default this is unset and ignored. | |||||||||
|
||||||||||
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. | ||||||||||
|
||||||||||
Default: `==3.1.*` | ||||||||||
Default: `==3.2.*` | ||||||||||
|
||||||||||
### `py7zrversion` | ||||||||||
Version of py7zr in the same style as the aqtversion and intended to be used for the same purpose. | ||||||||||
|
@@ -264,10 +290,10 @@ Example value: `--external 7z` | |||||||||
- name: Install Qt | ||||||||||
uses: jurplel/install-qt-action@v4 | ||||||||||
with: | ||||||||||
version: '5.15.2' | ||||||||||
version: '6.8.1' | ||||||||||
host: 'windows' | ||||||||||
target: 'desktop' | ||||||||||
arch: 'win64_msvc2019_64' | ||||||||||
arch: 'win64_msvc2022_64' | ||||||||||
dir: '${{ github.workspace }}/example/' | ||||||||||
install-deps: 'true' | ||||||||||
modules: 'qtcharts qtwebengine' | ||||||||||
|
@@ -278,7 +304,7 @@ Example value: `--external 7z` | |||||||||
tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator' | ||||||||||
set-env: 'true' | ||||||||||
tools-only: 'false' | ||||||||||
aqtversion: '==3.1.*' | ||||||||||
aqtversion: '==3.2.*' | ||||||||||
py7zrversion: '==0.20.*' | ||||||||||
extra: '--external 7z' | ||||||||||
``` | ||||||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update this bit of docs with new default settings