diff --git a/doric-Qt/doric/engine/v8/V8Executor.cpp b/doric-Qt/doric/engine/v8/V8Executor.cpp index deeb5c45..046a4a83 100644 --- a/doric-Qt/doric/engine/v8/V8Executor.cpp +++ b/doric-Qt/doric/engine/v8/V8Executor.cpp @@ -79,7 +79,7 @@ void V8Executor::invokeObject(QString objectName, QString functionName, int valueSize = arguments.size(); auto js_values = new v8::Local[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 value = invokeMethod(objectName.toUtf8().constData(), diff --git a/doric-Qt/doric/qml.qrc b/doric-Qt/doric/qml.qrc index 4213423f..2fded710 100644 --- a/doric-Qt/doric/qml.qrc +++ b/doric-Qt/doric/qml.qrc @@ -23,6 +23,6 @@ resources/text.qml resources/util.mjs resources/gravity.mjs - test-layout.qml + resources/test-layout.qml diff --git a/doric-Qt/doric/test-layout.qml b/doric-Qt/doric/resources/test-layout.qml similarity index 100% rename from doric-Qt/doric/test-layout.qml rename to doric-Qt/doric/resources/test-layout.qml