In the CTO announcement from October, there was talk about the HTML5 support in Qt. During the last Qt Developer Days, we showed some ways of what this means and how it works. But the Developer Days event only occurs once a year (per location, at least), and we wanted to give you something that you could refer to and use day to day.
The main thing we felt were missing was a good "starter kit" for building what we call hybrid applications, or embedding an HTML5 web view inside a native application.
So, for starters, we've now added a complete example of how to use a QWebView inside a C++ application, integrate it with native QObjects, and how to use that in the context of a real application.
In addtiion, there's full documentation of the webkit hybrid development functionality, most of its options and sub-features, and architectural recommendations.
Also, for a more advanced/hacky example, check out the new Graphics Dojo example (Ariya would forgive me for hijacking his old playground repo) that shows how to use QtNetwork to perform custom rendering in C++ and use the result in HTML. This is a rather minimalistic example that shows you how to use HTML <img> tags with a custom src URL, and how to deal with the mechanics of handling that URL and passing back image data that would be meaningful to WebKit. This is something I've used in several occasions when the rendering options in HTML weren't flexible enough and I wasn't to delegate it to C++.
Hope you find this useful,
Download the latest release here: www.qt.io/download.
Qt 5.15 was developed with a strong focus on quality and is a long-term-supported (LTS) release that will be supported for 3 years.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don’t want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu