Newbie question: I need to create a UI for my c++ application, but the UI must be from a browser, not the app itself. I suppose this means my app must serve up web pages.
- Is the QtWebKit able to do this?
- Is there a WYSIWYG designer tool?
- An example somewhere?
Hi and welcome to devnet,
Do you mean an HTML5 UI in a QApplication ?
@ViGor Are you looking for something like the things that were discussed in this thread: https://forum.qt.io/topic/45217/qt-qml-on-standard-web-browser ? (Ah, the Gitorious links seem to be unavailable; try https://www.youtube.com/watch?v=Ea8Maw4FTw8 or http://akreuzkamp.de/2013/07/10/webapps-written-in-qml-not-far-from-reality-anymore/ for QmlWeb). Something like QmlWeb (but maybe more QSG rendered in clientside WebGL) would have huge potential IMHO, and would have been a useful foil to the question I've seen kill a project's hope of Qt adoption stone dead: "So what's the Qt story on web?". But there doesn't seem to be much going on in that space currently AFAIK (be interested to be shown different).
Wt ( http://www.webtoolkit.eu/wt/ ) is another interesting option if you want a C++ UI widget toolkit and event driven programming style... but served up in a browser. But it's not Qt.
Sorry I was not clear.
I have a standalone app, it is not a QApplication but it could be if absolutely necessary.
The UI must work in firefox,chrome and safari.
So the brower would connect to the app via a URL such as "https://localhost:9000". So the app will need an embedded html server to serve up the web pages.
So my questions remain the same... basically can QT help create this embedded web server?
Thanks again for your patience and advice.
Yes you have everything you need in Qt to do that, however there are other projects like QHttp that you could use directly.
Hope it helps