Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Qt Context Objects

This is a collection of available Qt objects that are a little hard to find in the QML documentation, but which are often useful.

The Qt QML Element

With the Qt element (online link here), the application can be quit, points and vector3d can be created and QML components can be created at runtime. Internally, the Felgo EntityManager component uses the Qt element to create entities dynamically. If you create components dynamically in your application, make sure to call GameWindow::loadItemWithCocos() for the dynamically created object, because otherwise the QML object would not be created for the faster cocos renderer.

JavaScript Elements

In QML, the objects and functions of the ECMAScript specification ECMA-262 can be used. That means, all JavaScript functions and objects are available from QML JavaScript code, including Array, String, Math, Number, Date and JSON.

See here for a complete reference of all available objects and their functions:

A very good documentation about the functions of objects like Array, String, Math, Number or Date is available in the SELFHTML documentation: However, this documentation is in German only.

Good resources for JavaScript programming in English are available at and

If you know other sources for documentation about these objects and functions, please contact us and we'll add it to this document.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded