mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-20 09:00:53 -08:00
add module :quick (quick, quickwidgets, qml) plus an example; lots of small revisions;
This commit is contained in:
parent
4822a012c4
commit
dfccd7eb17
102 changed files with 11973 additions and 6852 deletions
25
examples/X-extras/move-blocks/cpp/lib.h
Normal file
25
examples/X-extras/move-blocks/cpp/lib.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef LIB_H
|
||||
#define LIB_H
|
||||
|
||||
#include <QtGui>
|
||||
|
||||
#ifdef Q_OS_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:
|
||||
|
||||
Q_INVOKABLE QEasingCurve* easingCurve();
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue