Giter Site home page Giter Site logo

qamigo_plugin_template's Introduction

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一样的例程来看插件是怎么编写的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.