Restructure plugin system to be more portable
This commit is contained in:
@@ -20,7 +20,7 @@ install(
|
||||
TARGETS
|
||||
NostalgiaCore-Studio
|
||||
LIBRARY DESTINATION
|
||||
${NOSTALGIA_DIST_PLUGIN}/nostalgia
|
||||
${NOSTALGIA_DIST_PLUGIN}
|
||||
)
|
||||
|
||||
install(
|
||||
|
3
src/nostalgia/core/studio/core-studio.json
Normal file
3
src/nostalgia/core/studio/core-studio.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"plugin_name": "Nostalgia Core"
|
||||
}
|
@@ -17,7 +17,7 @@ namespace core {
|
||||
|
||||
class Plugin: public QObject, studio::Plugin {
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "net.drinkingtea.nostalgia.studio.Plugin")
|
||||
Q_PLUGIN_METADATA(IID "net.drinkingtea.nostalgia.studio.Plugin" FILE "core-studio.json")
|
||||
Q_INTERFACES(nostalgia::studio::Plugin)
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user