mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 21:25:16 +03:00
update readme
This commit is contained in:
parent
37329a0a70
commit
2b0c6dc198
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -54,6 +54,20 @@ To cross compile to Windows, Linux and Android.
|
|||
|
||||
You can export `QT_DEBUG=true` before "qtdeploying" your application to enable printing of the current function name at runtime.
|
||||
|
||||
#### Speedup your development
|
||||
|
||||
Instead of using `qtdeploy` during development, you might want to use `qtrcc`, `qtmoc`, `qtminimal` manually with `go build/run -tags=minimal ...`
|
||||
|
||||
In general `qtminimal` should always be called after the use of the optional use of `qtrcc` and `qtmoc`.
|
||||
|
||||
`qtrcc` is used to bundle your `project/qml` folder so you can access the files within by using the `qrc` prefix, like this `qrc:///qml/somefile` from various Qt functions.
|
||||
|
||||
`qtmoc` is used to subclass core.QObject based classes and to add your own signals/slots as shown in some examples.
|
||||
|
||||
`qtminimal` is used to create a small subset of the binding tailored to your code to reduce the binary size. (Use the `-tags=minimal` flag to make use of it)
|
||||
|
||||
If you use the STUB version, you are forced to use `qtminimal` otherwise it's optional like `qtrcc` and `qtmoc`.
|
||||
|
||||
#### Instructions
|
||||
|
||||
* Desktop
|
||||
|
|
Loading…
Reference in a new issue