Qt Quick Ultralite is designed with performance and code size in mind. Therefore the QML layer is intended only for visual presentation of an application and business logic of an application should be done in C++. Qt Quick Ultralite provides C++ API which make the inter-operation between QML and C++ a straightforward and boilerplate code free process. For more information, see 集成 C++ 代码采用 QML .
, you can only use two arguments.
The math operations are done with the
C++ type and might return wrong result if you use them with large integer values.
Only empty Date constructor is supported. There is a known behavior difference that in Qt Quick Ultralite default constructed Date returns elapsed time since when the program was started, instead of current date and time as specified in ECMAScript specification.