Subset of QtQuick.Controls and other useful things.
I. Download qmlweb from special fork https://github.com/pavelvasev/qmlweb and put to sibling directory, e.g:
- qmlweb
- qmlweb.components
You need those special fork because it has addImportPath method and other enhancements.
II. Configure your browser to allow ajax requests to local files.
- Chrome command line arg:
--allow-file-access-from-files
III. Open src/test/test_run.html
- Go to directory
src
and add some control. - Put reference to it in qmldir file.
- Create a test case of that control in src/test/Index.qml.
When choosing what to create at step 1, please note that QmlWeb already has some built-in implementations of some controls
- ParamCookie - save/restore some property to cookie
- RowLayout,ColumnLayout,GridLayout (with Layout attached properties)
- ScrollView (seems to be simple as css.overflow), SplitView
- Dialogs (at least Dialog class)
- ColorPicker (brand new control, maybe using ColorDialog).
Next todo things probably should be done exclusively in QmlWeb:
- Component
- Connections