mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-30 08:15:04 +00:00
Fix Sample C++ Plugin (#2182)
This commit is contained in:
parent
fe96ee1b51
commit
fab5f901f9
@ -15,10 +15,10 @@ public:
|
|||||||
void setupPlugin() override;
|
void setupPlugin() override;
|
||||||
void setupInterface(MainWindow *main) override;
|
void setupInterface(MainWindow *main) override;
|
||||||
|
|
||||||
const QString &getName() const { return "SamplePlugin"; }
|
QString getName() const override { return "SamplePlugin"; }
|
||||||
const QString &getAuthor() const { return "xarkes"; }
|
QString getAuthor() const override { return "xarkes"; }
|
||||||
const QString &getDescription() const { return "Just a sample plugin."; }
|
QString getDescription() const override { return "Just a sample plugin."; }
|
||||||
const QString &getVersion() const { return "1.0"; }
|
QString getVersion() const override { return "1.0"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class CutterSamplePluginWidget : public CutterDockWidget
|
class CutterSamplePluginWidget : public CutterDockWidget
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
HEADERS += ../CutterSamplePlugin.h ../CutterPlugin.h
|
HEADERS += ../CutterSamplePlugin.h ../CutterPlugin.h
|
||||||
INCLUDEPATH += ../ ../../
|
INCLUDEPATH += ../ ../../ ../../core ../../widgets
|
||||||
SOURCES += CutterSamplePlugin.cpp
|
SOURCES += CutterSamplePlugin.cpp
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += $$system("pkg-config --cflags r_core")
|
QMAKE_CXXFLAGS += $$system("pkg-config --cflags r_core")
|
||||||
|
Loading…
Reference in New Issue
Block a user