##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1152:d60c64f6f148
r1156:247dc18789c6
Show More
AmdaPlugin.h
29 lines | 631 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDAPLUGIN_H
#define SCIQLOP_AMDAPLUGIN_H
#include "AmdaGlobal.h"
#include <Plugin/IPlugin.h>
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaPlugin)
#ifndef SCIQLOP_PLUGIN_JSON_FILE_PATH
#define SCIQLOP_PLUGIN_JSON_FILE_PATH "amda.json"
#endif
class DataSourceItem;
class SCIQLOP_AMDA_EXPORT AmdaPlugin : public QObject, public IPlugin {
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE SCIQLOP_PLUGIN_JSON_FILE_PATH)
public:
/// @sa IPlugin::initialize()
void initialize() override;
};
#endif // SCIQLOP_AMDAPLUGIN_H