This contains a registry of Qt Creator extensions.
- Fork this repository
- Add a new folder in the
registryfolder with the name<vendorid>.<pluginid> - Find the metadata
Extension.jsonthat was generated from yourExtension.json.infile from within your Extensions build folder. For Lua plugins you can use the main plugin lua file instead. - Add your extension to the registry using
node scripts/new.js registry/<vendorid>.<pluginid>/extension.json <buildfolder/Extension.json>. This will create a new folder with the name<vendorid>.<pluginid>and create theextension.jsonbased on your extension in it. (You can also specify your lua entry script path instead) - Fill in the
sourcesarray in the newly createdextension.jsonfile with the urls to your Extension. - Run
git add .andgit commit -m "Added <your-plugin-id>" - Push your changes to your fork
To test your changes, you can add your fork in Qt Creator under "Settings => Extensions => Repository URLs". Specify the path to your Repositories tar.gz file, e.g.
https://github.com/<your-username>/extension-registry/archive/refs/heads/<your-branch-name>.tar.gz
- Create a pull request to this repository
- Wait for approval
To ease adding new versions of plugins, you can run the script
node scripts/fixhashes.js <path/to/your/extension.json>.
This will calculate the sha256 hash of the sources and update the
sha256 key in the sources object.
This repo contains a .gitattributes file that excludes folders from
a call to git archive. This is used to create a zip file of the registry
for distribution. The following command will create a zip file of the registry
without the unecessary folders:
git archive --format=zip HEAD -o registry.zipConveniently, GitHubs "Download ZIP" feature honors the .gitattributes file
and will create a zip file of the registry without the unecessary folders.