Conclusion

In this tutorial, we have demonstrated how to combine some built-in Slint elements with C++ code to build a little game. There are many more features that we haven't talked about, such as layouts, widgets, or styling.

We recommend the following links to continue:

  • Examples: In the Slint repository we have collected a few demos and examples. These are a great starting point to learn how to use many Slint features.
  • Slint API Docs: The reference documentation for the C++ library.