mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-06 10:31:19 -08:00
26 lines
392 B
C++
26 lines
392 B
C++
#ifndef LIB_H
|
|
#define LIB_H
|
|
|
|
#include <QtWidgets>
|
|
|
|
#ifdef Q_CC_MSVC
|
|
#define LIB_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define LIB_EXPORT
|
|
#endif
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
extern "C" { LIB_EXPORT QObject* ini(); }
|
|
|
|
class CPP : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
// insert here your function declarations, prepended by Q_INVOKABLE
|
|
Q_INVOKABLE void runExamples();
|
|
};
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif
|