3 ms·
> Because compiling Qt (and QtWebEngine) is a very heavy operation, we would need to pre-compile and distribute Qt so that the Dockerfile could simply download
by c-smile 6y ago
> Because compiling Qt (and QtWebEngine) is a very heavy operation, we would need to pre-compile and distribute Qt so that the Dockerfile could simply download and include it in the build process (rather than compiling as part of the installation process).
Just in case: Release build of my Sciter.JS ( https://github.com/c-smile/sciter-js-sdk 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 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/ 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.
- jcelerier 6y agoCan sciter expose methods & members of C++ classes to JS automatically ?
- c-smile 6y agoYes. 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/sciter-sqlite.h#L27 https://github.com/c-smile/sciter-js-sdk/blob/main/sqlite/sc...
- mixedCase 6y ago> Just in case: Release build of my Sciter.JS ( https://github.com/c-smile/sciter-js-sdk https://github.com/c-smile/sciter-js-sdk ) gets re-compiled in 55 seconds on pretty average dev machine that I have here. 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?
- c-smile 6y ago> Does that repo include all that's needed? 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.
- varajelle 6y agoCompiling QtWebEngine is slow because it includes Chromium. And you did not include that in your 55s, did you?
- c-smile 6y agoSciter does not use WebKit - it is HTML/CSS/script engine by its own - implements essential parts of HTML5 and CSS needed to run desktop applications and popular web components and frameworks.