How I integrated TinyMCE into my QtApplication
summary
Integrates TinyMCE inside QWebView/WebEngine and exposes a C++ interface class derived from QWebView that registers a QObject bridge via Q_INVOKABLE so JavaScript can call C++ and C++ can execute JS. Builds TinyMCE plugins and Qt dialogs for image/link pickers, loads editor HTML from local filesystem, and uses a timer to wait for editor readiness. Result is a working hack that blends into QWidget apps but requires per-directory copies, leaks resources, and has basePath and JS-dialog limitations.
AI-written summary · about








