Skip to content
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 qt6 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add qt6 #3

wants to merge 1 commit into from

Conversation

patrickelectric
Copy link

Signed-off-by: Patrick José Pereira [email protected]

Signed-off-by: Patrick José Pereira <[email protected]>
@zebreus
Copy link
Owner

zebreus commented Apr 1, 2021

I looked into adding qt6 a few weeks ago, but it does currently not build for webassembly.

The PR accidently builds qt5.15, as the wrong resource is specified in qt-pipeline.yml (line 289).

Adding qt6 will probably be a bit more difficult, as qt switched its build system from qmake to cmake. I currently have a Dockerfile, that should be able to built qt6, but it currently fails. This is probably a qt problem, as qt6.0 does not support webassembly afaik.

@patrickelectric
Copy link
Author

It appears that an initial support already exists: http://qtandeverything.blogspot.com/2021/04/qt-6-webassembly-qtquick3d-or-not-april.html

@zebreus
Copy link
Owner

zebreus commented Apr 5, 2021

I tried that yesterday, but I cannot get it to work correctly. I added the Dockerfile to the repository, so you can try it yourself. It seems to build a correct version of Qt6 for WASM, but linking always fails for me. And for some reason, it only works if you use qmake -d. I have not tried using cmake yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants