Repository navigation
wasm: build Qt Quick 3D into the WebAssembly SDK - #49
Merged
Merged
Conversation
QML apps built on score can import QtQuick3D (SAT's Domeport does), but the wasm SDK skipped qtquick3d, so the static link had no Quick 3D plugin to pull in and the app failed with 'module "QtQuick3D" is not installed'. Build qtquick3d for both qt6-host (its tools are needed by the cross build) and qt-wasm. The assimp importer is turned off on wasm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0187mYLDEuWPcb6sJT4DgoXt
Member
|
wild!!!! thanks ! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hey! Ran into this while previewing dome stills in the Domeport web build.
DomeportView.qml:4:1: module "QtQuick3D" is not installed(same forQtQuick3D.Helpers)WASM/qt.shpasses-skip qtquick3dto both the host and the wasm configure, so the SDK ships no Quick 3D. score'senable_minimal_qt_pluginsalready linksQt6::qquick3dpluginand friends when they exist, so nothing in score needs to change.-skip qtquick3dfrom both configures, and turn off the assimp importer on wasm (-no-feature-quick3d-assimp).QT_DO_EXPORT_SYMBOLS, so I had to pass-DQT_DO_EXPORT_SYMBOLS=0. Your superbuild already sets it to 0 after qtbase, so this patch doesn't need it.Before / after:
Domeport side of the fix: sat-mtl/DomeportPro#99
Thanks for score and the SDK, they're a joy to build on.