mirror of
https://github.com/mappu/miqt.git
synced 2025-03-11 18:10:22 +00:00
rcc, uic: add the -Help output to package README.md files
This commit is contained in:
parent
7bacd37161
commit
dfbe5a0835
24
cmd/miqt-rcc/README.md
Normal file
24
cmd/miqt-rcc/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# miqt-rcc
|
||||
|
||||
The miqt-rcc program generates the necessary wrappers to use a Qt Designer `.qrc`
|
||||
resource pack in MIQT `.go` files.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
Usage of ./miqt-rcc:
|
||||
-Input string
|
||||
Path to .qrc input file
|
||||
-OutputGo string
|
||||
(Optional) Path to .go output file. If omitted, interred from the input file path
|
||||
-OutputRcc string
|
||||
(Optional) Path to .rcc output file. If omitted, inferred from the output Go file path
|
||||
-Package string
|
||||
Package to use in generated Go files (default "main")
|
||||
-Qt6
|
||||
Use Qt 6 instead of Qt 5
|
||||
-RccBinary string
|
||||
(Optional) Custom path to the Qt rcc program (default "rcc")
|
||||
-VariableName string
|
||||
Temporary global variable name for loading embedded data (default "_resourceRcc")
|
||||
```
|
@ -2,7 +2,21 @@
|
||||
|
||||
The miqt-uic program compiles Qt Designer `.ui` files into MIQT `.go` files.
|
||||
|
||||
For usage information, see the `examples/uidesigner` folder.
|
||||
## Usage
|
||||
|
||||
For example usage information, see the `examples/uidesigner` folder.
|
||||
|
||||
```
|
||||
Usage of ./miqt-uic:
|
||||
-InFile string
|
||||
Input .ui file
|
||||
-OutFile string
|
||||
Output .go file, or - for stdout (default "-")
|
||||
-Package string
|
||||
Custom package name (default "main")
|
||||
-Qt6
|
||||
Use Qt 6 instead of Qt 5
|
||||
```
|
||||
|
||||
## Architecture design
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user