Creating a Simple HMI Plugin
Step1: Go to the ROKAE+ open platform to download the development package for the corresponding platform.
Step2: Open the Example file, use Qt Creator to open the Example.pro file
Step3: Customize the project name and plugin name.
Modify the pro file to add a macro defining the plugin name
DEFINES += PLUGIN_NAME=\"Example\"
In Example.cpp, modify the XPLUGIN_REGISTER macro, set the internal to the user's custom class name
XPLUGIN_REGISTER(PLUGIN_NAME, ExampleClass)
Step4: Compile and generate to output a custom library file.