Project

General

Profile

Desktop wrapper

Added by Ansif Ibrahimkutty over 7 years ago

Hi,

We are looking to add a desktop wrapper for Wt application. Which technology is best used?. The wrapper should automatically manage the Wt server in the background. Any help is really appreciated.


Replies (2)

RE: Desktop wrapper - Added by Roel Standaert over 7 years ago

Hi,

We haven't done this ourselves, but someone has successfully done it in the past:

https://gitlab.com/wtdesktop/wtdesktop

That code forked Wt and added src/desktop: https://gitlab.com/wtdesktop/wtdesktop/tree/wtdesktop/src/desktop

It's a bit outdated, but you should be able base your wrapper on that code. It's basically a combination of using Qt to show a Wt application in a QWebView.

Maybe a more modern approach would be to use QWebEngineView instead: http://doc.qt.io/qt-5/qwebengineview.html

Regards,

Roel

RE: Desktop wrapper - Added by Roel Standaert over 7 years ago

To add to my answer: I think the creator of WtDesigner also uses a QWebView:

https://github.com/juangburgos/WtDesigner

    (1-2/2)