This commit is contained in:
王劲鹏 2021-04-06 13:56:58 +08:00 committed by osborn
parent 1ef0a7720a
commit e4527f7f39
3 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ void V8Executor::invokeObject(QString objectName, QString functionName,
int valueSize = arguments.size();
auto js_values = new v8::Local<v8::Value>[valueSize];
for (uint32_t i = 0; i < valueSize; i++) {
for (int i = 0; i < valueSize; i++) {
js_values[i] = Variant2JS(arguments.at(i));
}
v8::Local<v8::Value> value = invokeMethod(objectName.toUtf8().constData(),

View File

@ -23,6 +23,6 @@
<file alias="text.qml">resources/text.qml</file>
<file alias="util.mjs">resources/util.mjs</file>
<file alias="gravity.mjs">resources/gravity.mjs</file>
<file>test-layout.qml</file>
<file alias="test-layout.qml">resources/test-layout.qml</file>
</qresource>
</RCC>