initial commit
parent
98c4d362ba
commit
dd538dfb4e
@ -0,0 +1,8 @@
|
|||||||
|
#include "importDigiKey.h"
|
||||||
|
|
||||||
|
//! [0]
|
||||||
|
QString cImportDigiKey::echo(const QString &message)
|
||||||
|
{
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
//! [0]
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
#ifndef IMPORTDIGIKEY_H
|
||||||
|
#define IMPORTDIGIKEY_H
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QtPlugin>
|
||||||
|
#include "inventryPartsInterface.h"
|
||||||
|
|
||||||
|
//! [0]
|
||||||
|
class importDigikey : public QObject, inventryPartsInterface
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
Q_PLUGIN_METADATA(IID "at.windesign.inventryPartsInterface" FILE "importDigiKey.json")
|
||||||
|
Q_INTERFACES(inventryPartsInterface)
|
||||||
|
|
||||||
|
public:
|
||||||
|
QString echo(const QString &message) override;
|
||||||
|
};
|
||||||
|
//! [0]
|
||||||
|
|
||||||
|
#endif
|
||||||
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
#! [0]
|
||||||
|
TEMPLATE = lib
|
||||||
|
CONFIG += plugin
|
||||||
|
QT += widgets
|
||||||
|
INCLUDEPATH += ../inventryParts
|
||||||
|
HEADERS = importDigiKey.h
|
||||||
|
SOURCES = importDigiKey.cpp
|
||||||
|
TARGET = $$qtLibraryTarget(importDigiKey)
|
||||||
|
DESTDIR = ../plugins
|
||||||
|
#! [0]
|
||||||
|
|
||||||
|
EXAMPLE_FILES = importDigiKey.json
|
||||||
|
|
||||||
|
# install
|
||||||
|
#target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/importDigiKey/plugins
|
||||||
|
#INSTALLS += target
|
||||||
|
|
||||||
|
CONFIG += install_ok # Do not cargo-cult this!
|
||||||
Loading…
Reference in New Issue