Getting started — Paths A–E (2.73)¶
One page to first window. Prefer this over hopping packaging docs until you need deep detail.
Full packaging matrix: packaging-consumer.md · Python: packaging-python.md.
Decide once¶
| Question | Choices |
|---|---|
| Language | C++ or Python |
| How you consume the kit | A in-tree · B shared zip · C find_package · D vcpkg/Conan · E pip install qwinui3 |
| Shell | first-app (smallest) · gallery-shell · dashboard · blank |
CLI (from a clone of this repo):
python scripts/qwinui3.py init --list-shells
python scripts/qwinui3.py init --list-packaging
python scripts/qwinui3.py init --cpp --packaging subtree --shell first-app --out ../my-app
python scripts/qwinui3.py doctor --fix
Path A — in-tree C++ (add_subdirectory)¶
python scripts/qwinui3.py init --cpp --packaging subtree --shell first-app --out ../my-app- Point
QWINUI3_ROOT/add_subdirectoryat this repo (generated README). - Configure Release, build, run.
Seed: examples/first-app.
Path B — shared Release zip¶
python scripts/package_release_libs.py --shared --archiveinit --cpp --packaging zip --kit dist/qwinui3-…-shared --out ../my-app- Set
CMAKE_PREFIX_PATHto the kit; build Release.
Path C — find_package(QWinUI3)¶
- Install / package kit with CMake config.
init --cpp --packaging cmake-config --out ../my-appfind_package(QWinUI3 CONFIG REQUIRED)— seeexamples/find-package-consumer.
Path D — vcpkg / Conan¶
Overlay recipes: packaging-vcpkg-conan.md.
init --cpp --packaging vcpkg or conan writes a stub README + CMake that expects the overlay.
Path E — Python¶
pip install qwinui3 PySide6
python scripts/qwinui3.py init --python --packaging pip --shell blank --out ../my-py-app
cd ../my-py-app && python main.py
Or full Gallery: packaging-python.md.
Doctor¶
--fix prints actionable next steps (Qt prefix, Gallery binary, kit, bindings).
Checkpoint¶
Consumer DX audit: checkpoint-273.md.