Cube GUI Plugin User Guide
(CubeGUI 4.8.2, revision 7895e762)
How to develop a Cube GUI Plugin, road map and examples
|
The example in $CUBE_INSTALL_PREFIX/share/doc/cube/example/gui/plugin
uses all major functions of PluginServices. It contains functions to handle
$CUBE_INSTALL_PREFIX/share/doc/cube/example/gui/value-view
is an example of a plugin that offers an additional value view. It adds a boxplot view for tau metrics. The example
If the plugin doesn't load, start cube with -verbose
to get further information. The most likely reason is an undefined reference:
If we remove the definition of the method cubeClosed()
in SimpleExample.cpp, the plugin is created without errors, but it cannot be loaded. cube -verbose
shows the error message above.
When building plugins, it is important to ensure that the plugin is configured in the same way as cube. A plugin build with incompatible options shows the following error:
The same compiler, the same Qt library and the same configuration options have to be used. Only plugins which are created using a Qt library with a lower minor version can also be loaded.
Copyright © 1998–2022 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |