Hint: Create UUIDs with a shortcut in QtCreator


Hey there,

A small hint for plugin devs using QtCreator:
When writing nymea plugins you need to generate UUIDs for your plugin.json.

QtCreator allows to add custom tools and add keyboard shortcuts for them so that pasting a UUIDs is just a Ctrl-Alt-U away:

(Keyboard shortcut can be added in Options->Environment->Keyboard)



Now this is very cool! Thanks a lot Christian!

Also note, nowadays we have a nymea-qtcreator-wizards package (apt install nymea-qtcreator-wizards) which will add some wizards to qtcreator and help with generating the json file.

I will check if there is a possibility to inject your shortcuts from there somehow to make it work for anybody.