split project with app & doric module
This commit is contained in:
7
doric-Qt/example/doric/engine/DoricNativeRequire.cpp
Normal file
7
doric-Qt/example/doric/engine/DoricNativeRequire.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "DoricNativeRequire.h"
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
Q_INVOKABLE void DoricNativeRequire::function(QString name) {
|
||||
qDebug() << "nativeRequire: " << name.toUtf8();
|
||||
}
|
||||
Reference in New Issue
Block a user