rcc, uic: add the -Help output to package README.md files

This commit is contained in:
mappu 2025-02-07 18:01:45 +13:00
parent 7bacd37161
commit dfbe5a0835
2 changed files with 39 additions and 1 deletions

24
cmd/miqt-rcc/README.md Normal file
View 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")
```

View File

@ -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