Difference between revisions of "AnyWave:DeveloperCorner"

From WikiMEG
Jump to: navigation, search
(The SDK)
(How to build a plugin)
Line 23: Line 23:
  
 
=How to build a plugin=
 
=How to build a plugin=
The CMake tool will take care of the building step for your plugin.<br />
+
Using qmake is the easier solution to build a plugin as it is the Qt tool to manage project files and a qmake project can be used in QtCreator.<br />
So, it is strongly advised to get used with the basic cmake concepts, though, it's quite simple to set up a cmake project to build a plug-in:<br />
+
Examples:<br />
Follow this [[AnyWave:PrepareCMake|section]] to see have to do it.
+
* Build a reader plugin
  
 
=[[AnyWave:BuildReader|Build a Reader plug-in]]=
 
=[[AnyWave:BuildReader|Build a Reader plug-in]]=

Revision as of 13:59, 3 August 2018

Welcome

This part of the Wiki is dedicated to developers who would like to implement their own plug-ins for AnyWave.
AnyWave is written using the Qt Framework and the Qt plugin mechanism, so a good knowledge of the Qt Framework is required.

The SDK

If you have installed AnyWave on your system, you will find all the required files in the installation folder.

Linux

Build from sources following the instructions on our Gitlab.
Considering the default installation path, the requires folders to build a plugin are:

  • /usr/local/AnyWave/include
  • /usr/local/AnyWave/lib

Mac OS

The required folders to build a plugin are:

  • /Applications/AnyWave.app/content/include
  • /Applications/AnyWave.app/content/frameworks

Windows

The required folders to build a plugin are:

  • AnyWave\include
  • AnyWave\lib

AnyWave C++ objects

See this section of the Wiki to learn more about C++ objects defined in the SDK.

How to build a plugin

Using qmake is the easier solution to build a plugin as it is the Qt tool to manage project files and a qmake project can be used in QtCreator.
Examples:

  • Build a reader plugin

Build a Reader plug-in

Build a signal processing plug-in

How to write a MATLAB plug-in

How to write a Python Scripted plug-in