mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-06 18:40:50 -08:00
port of EQL/Qt4 to Qt5
This commit is contained in:
commit
0591f54ce8
339 changed files with 99935 additions and 0 deletions
26
Qt_EQL/cpp_calling_lisp/lib.h
Normal file
26
Qt_EQL/cpp_calling_lisp/lib.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef LIB_H
|
||||
#define LIB_H
|
||||
|
||||
#include <QtWidgets>
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue