Qt Dev Helper
Toolbox to help develop Qt applications, improving the usability of the existing tooling.
Installation
To install the CLI you can run one of the following commands (assuming you use pyside6 as Qt tooling suppliers):
uv pip install "qt-dev-helper[cli,pyside6]"
[!NOTE] While it is also possible to install
qt-dev-helperglobally withuv tool install "qt-dev-helper[cli,pyside6]"it is not recommend since it might cause version incompatibilities.
OR
pip install "qt-dev-helper[cli,pyside6]"
OR
conda install -c conda-forge qt-dev-helper
[!IMPORTANT] If you do not have the
uicandrccexecutables on yourPATH, you still need to install the Qt tooling supplier withpipsince there either is no conda version or conda version comes without tools (e.g.pyside6)
Features
Usable as Library and/or CLI tool
Compatible with PEP517 build system (see test case)
CLI auto completion
Project wide configuration in
pyproject.tomlRecursive asset compiler for Qt projects (using
uicandrcc):*.ui->*.py*.qrc->*.py*.ui->*.h*.qrc->*.h*.scss->*.qss
Support for multiple Qt tooling suppliers
PySide6-Essentialsqt6-applicationsqt5-applications
Ability to open all
*.uifiles in a folder in QtDesigner
Planned features
Stand alone executable for each release (Windows)
File watch mode
qssinjection into*.uifilespre-commithooks
FAQ
Q: Why is
PyQt5not supported?A:
PyQt5only ships a python specific version ofuicandrccbreaking the tool API and compatibility with cpp projects. Use the matching version ofqt5-applicationsas Qt tooling supplier.Q: Error when using
qt5-applications/qt6-applications?A: The distributions of
qt5-applicationsandqt6-applicationsare using thepkg_resourcesmodule formsetuptoolswhich might not be installed and thus fail. Try installingsetuptoolse.g.pip install setuptoolsorconda install setuptools.
Contributors ✨
Thanks goes out to these wonderful people (emoji key):
Sebastian Weigand 💻 🤔 🚧 📆 🚇 ⚠️ 📖 |
Joris Snellenburg 👀 🚧 🚇 |
This project follows the all-contributors specification. Contributions of any kind are welcome!