QAmigo plugin template

Template project for writing QAmigo plugins.

How to use

  1. Clone this project.
  2. Change name of the project and target in .pro of this project to the name you want.
  3. Change the "INCLUDEPATH += ..." in .pro file to the source folder of "TabPluginInterface.h", which should be located in the "src" folder of QAmigo
  4. Optionally, change the DESTDIR to "[Standard documents folder of your computer]/QSerial Socket Amigo/plugins". This is the default path QAmigo will search for the plugins.
  5. Write some code, add some widgets and build the project.

You can go to QAmigo's README.md to see how to write working plugins.

There will also be some examples like the 3D Box in the orgnization page to show you how to write plugins.

如何使用

  1. clone下来这个项目。
  2. 修改项目名和.pro文件中生成的二进制目标文件的名字到你想要的名字。
  3. 修改.pro文件中的"INCLUDEPATH += ..."加上QAmigo的src目录,包含"TabPluginInterface.h"进来。
  4. 可选,更改DESTDIR到"[电脑上的标准的Documents目录]/QSerial Socket Amigo/plugins",这个目录是QAmigo寻找共享库插件的默认路径。
  5. 在项目里添加些按键,label什么的,然后编译就可以测试了。

如何编写控件在QAmigo项目的README.md中可以看到。

还可以参考项目页面中像3D Box一样的例程来看插件是怎么编写的。