This is the first step to handling several zim file at the same time.
- The Library class is used has a handler mapping zimId to kiwix::Reader.
- The KiwixWebView display url of the form : "zim://<zimId>.zim/path".
- The KiwixSchemeHandler uses the host (containing the zimid) to get
the reader from the library and serve the content.
We cannot create a static binary because we cannot build QtWebEngine
statically.
So the static config, should only be used to define if we are linking
to the dynamic or static kiwix-lib.
It seems that there are request in the form
"blob://foo.zim/<uuid>".
I don't know where it come from, we cannot handle it and even Qt is parsing
it wrongly (scheme and host are empty, path is the full url request).
By using a string to handle the url, it is simpler to change "http://" to
"zim://".
This is a first "more than alpha" version of kiwix-desktop.
It takes a zim as command line argument and open it.
There is no navigation button, and the adresse bar is read only.
It crashes if no zim is given on the command line.