How to embed ROOT in a GUI

Introduction

In the past we described how to embed a TCanvas in external applications, but this recipe might not work anymore, like for example with Qt on MacOS.

Figure: TCanvas embedded in a Qt application.

In this case we recommend to embed the new web-based widgets in Qt application using QWebEngine, as described in this page

Figure: RCanvas embedded in a Qt application.