Compiling Qt with Docker multi-stage and multi-platform
docker.com
docker.com
I've only recently embraced using multi-stage build to concurrently split a build in two to four steps
* (one or more) fetcher, for fetching (say) the source package or cloning a git repo in the proper commit/branch, or having external dependencies whose output could be cached regardless of the rest of the dockerfile contents
* builder, which uses "COPY --from=fetcher" to "bring over" the code or dependencies
* the actual resulting image, which oftentimes could well be a "FROM scratch" and be just comprised of "COPY --from=builder" instructions.
With "docker buildx", or with "DOCKER_BUILDKIT=1 docker build", it's pure joy to use!
<!-- wp:paragraph -->
<p>RUN mkdir -p /sysroot/usr /sysroot/opt /sysroot/lib</p>
it seems that article's formatting is having some issuesJust in case: Release build of my Sciter.JS ( https://github.com/c-smile/sciter-js-sdk ) gets re-compiled in 55 seconds on pretty average dev machine that I have here. Sciter.JS is version of Sciter (https://sciter.com) that uses JavaScript (ES6) script VM instead of custom TIScript.
Sciter.JS covers functionality of Qt UI, Qt Quick and QtWebEngine.
It already runs MithrilJS (micro-React), SvelteJS compilations, Leaflet (Maps) as they are. See: https://sciter.com/sciter-js-runs-leafletjs-as-it-is/
The end goal is to provide UI runtime that is in times smaller than Qt+QtWebEngine and ElectronJS but is still capable to run tons of existing Web components and frameworks.
Check SQLite wrapper, used either statically linked library or a DLL.
You can use C++ classes as they are, just need advertisement, SOM_PASSPORT_BEGIN/END :
https://github.com/c-smile/sciter-js-sdk/blob/main/sqlite/sc...
Does that repo include all that's needed? Meaning, Sciter.JS is fully open source as the LICENSE file indicates and requires no proprietary bits?
Depends on what you really needed. The SDK includes everything that is needed to use Sciter in your apps.
If you need its sources for whatever reason then you can request access to its sources (for now it is subject of NDA signing).
As of commercial licenses - the price is a fraction of Qt price.