-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix WASM and issues with Qt 6.7.+ #272
base: master
Are you sure you want to change the base?
Conversation
… as host and 'wasm' as target
@Kidev const isAutodesktopSupported = async (): Promise<boolean> => {
const rawOutput = await getPythonOutput("aqt", ["version"]);
const match = rawOutput.match(/aqtinstall\(aqt\)\s+v(\d+\.\d+\.\d+)/);
return match ? compareVersions(match[1], ">=", "3.0.0") : false;
}; The problem is, if you point Right now as you discovered, one either needs to pass |
Indeed, I'll remove it from the README and such then. In the meantime I got it all working, as you can see in this workflow file of a project of mine. You can check the latest run here. You can use it right now if you need to, no need to wait for either PRs: - name: Install Qt for host architecture
uses: Kidev/[email protected]
with:
version: '6.8.1'
host: 'all_os'
target: 'wasm'
arch: 'wasm_singlethread'
set-env: 'true'
modules: 'qtquick3d'
aqtsource: 'git+https://github.com/Kidev/aqtinstall.git@wasm'
extra: '--autodesktop' |
@Kidev My application depends on Qt Quick, and this doesn't seem to properly install it for WASM or Android.
Here's my config:
Why is Quick not getting installed? Actually, scrolling up, it can't find Qt core...
...because it can't find Qt6CoreTools.
|
Nevermind, I had the wrong host paths set in my configure command. |
The PR fixing WASM and more was merged into master and aqtinstall will soon release its version 3.2.0 including those changes. For it to work, I updated the default value of Note Until the release 3.2.0 of
Note Once the release 3.2.0 of
|
https://github.com/miurahr/aqtinstall/blob/master/pyproject.toml#L29 |
BTW: I have PR #267 Open for the |
It is a good idea, I also have updated it in my latest update, along with py7zr. It is not yet ready for this PR, still need some testing, but I'm working on getting commercial versions available to the installation using this Action (miurahr/aqtinstall#878 https://github.com/Kidev/install-qt-action). Here you can see a successful install of Qt using the |
Since Qt 6.7+, the Qt team decided to make WASM a part of
all_os
as host, with targetwasm
. This is sensible as the WASM version of Qt cannot work on its own and needs a host. To install Qt WASM for the latest versions, it will soon be required to use the action like this:This change will be required once this PR goes through, but it is not breaking anything until it does get merged