Norman0406 / LISA

Lightweight Integrated System for Amateur Radio
GNU General Public License v3.0
2 stars 1 forks source link

Provide some basic information for plugin development #1

Closed semaph0r closed 9 years ago

semaph0r commented 10 years ago

It would be cool to reference some additional ressources (blog, tutorials, how-tos, ...) within the wiki regarding to Qt's plugin architecture and how it is used (adopted) developing plugins for LISA.

Furthermore point out some design guidelines which will prevent us from cluttered source code.

Norman0406 commented 10 years ago

Right now I don't have much time to write an extensive documentation. My priority at this time lies in pushing the development further as fast as I can besides my regular job. However, I will extend the wiki with basic information as soon as possible. If you want to begin developing a new plugin for lisa, you can start by copying the "digital" plugin and renaming everything to the name of the new plugin. Add a reference to the plugin QBS file to "plugins.qbs". When everything builds successfully, the plugin is loaded automatically. Here is some additional information about the digital plugin:

There is also an example plugin called "helloworld" that can provide additional information about the plugin infrastructure. As soon has you have a prototypical (mostly empty) plugin, just issue a pull request and I will have a look into it.

Norman0406 commented 10 years ago

There is now a simple empty plugin available to begin the development of a logbook plugin. This is the most minimalistic plugin in this context. Development uses the standard Qt principles. Some tips:

Try not to spend too much time with the wiki. We will work on it when the time comes. By now, just start coding and have fun :) If there are any questions whatsoever, just write me.