-
Notifications
You must be signed in to change notification settings - Fork 1
Choosing a backend for your app
Saucer provides several backends for different operating systems:
- Windows
- WebView2 (as
webview2). Supportsx86_64.
- WebView2 (as
- GNU/Linux
- Qt 5 & 6 (as
qt). Supportsx86_64. - EXPERIMENTAL Qt 5 & 6 (as
qt_experimental). Supportsaarch64&mips64el, but with some bugs and odd behaviors.
- Qt 5 & 6 (as
With saucer4j, you need to bundle the backends you want with your app. The library will automatically select the correct backend at runtime.
Replace _VERSION with the latest release or commit in this repo.
Replace _BACKEND with one of the above backends. You can also use the _all meta package to include every backend as
a single dependency.
Make sure you add the Repository to your build system.
Maven
<dependency>
<groupId>com.github.saucer.saucer4j</groupId>
<artifactId>_BACKEND</artifactId>
<version>_VERSION</version>
</dependency>Gradle
dependencies {
implementation 'com.github.saucer:saucer4j._BACKEND:_VERSION'
}All of saucer4j is licensed under MIT, so you can shade the dependencies into your own uber-Jar :^)
Qt provides two licenses:
- A community license, which may require your project to be licensed under GPL.
- A paid license, which does not require your project to be licensed under GPL.
We are currently working on a WebkitGTK backend which does not require a paid license or your project to be GPL licensed.
We are also working on a Webkit backend for macOS support.