Update the readme
This commit is contained in:
parent
74bedc1a1d
commit
a5785fccb0
1 changed files with 32 additions and 1 deletions
33
README.org
33
README.org
|
|
@ -13,7 +13,7 @@ zypper in eql5
|
|||
#+END_SRC
|
||||
|
||||
* Build and deploy
|
||||
You can use the build button in qtcreator or do this manually:
|
||||
You can use the build button in qtcreator or do this manually in the sdk engine:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
qmake eql5-sfos.pro
|
||||
|
|
@ -27,6 +27,29 @@ comes with the sdk. Use the following command for a comprehensive manual:
|
|||
sfdk --help-building
|
||||
#+END_SRC
|
||||
|
||||
The TL;DR would be one of the following:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
sfdk build
|
||||
#+END_SRC
|
||||
|
||||
Or,
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
sfdk qmake
|
||||
sfdk make
|
||||
sfdk make-install
|
||||
sfdk package
|
||||
#+END_SRC
|
||||
|
||||
You also have the option to build against ecl and eql5 statically to distribute
|
||||
your application without the need to depend on development packages. You can do
|
||||
this by configuring qmake like so:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
sfdk qmake -- 'CONFIG += standalone'
|
||||
#+END_SRC
|
||||
|
||||
Once the target and device options have been set, you just have to issue the command:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
|
|
@ -41,6 +64,14 @@ port 4005. You just have to fire up emacs and connect to it using sly-connect.
|
|||
Only sly-fancy contribs are supported for now so you’ll have to disable the
|
||||
others you may have configured for it to work with this application.
|
||||
|
||||
If you wish to disable this feature, you can configure qmake like so:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
sfdk qmake -- 'CONFIG += norepl'
|
||||
#+END_SRC
|
||||
|
||||
Note that statically linking ecl and eql5 will also disable the repl.
|
||||
|
||||
* Reload QML files
|
||||
You can find a file `webserver.sh` in the repository which will launch a simple
|
||||
http server. You can then edit the qml files on your host machine and issue the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue