Qt with or without HTML5

I have been programming with Qt libraries for 3 years. So far, all programs have been developed by traditional widgets. But now I noticed that you can create your user interface using HTML5 + CSS + jQuery. Now these are my questions:

  • When should we develop our interface with HTML5 and the core with the Qt library?
  • What are the benefits if we use HTML5 when developing a user interface instead of traditional widgets?
  • Would it be reasonable if we even develop our regular user interface for HTML5 desktop applications?

Thanks!

+6
source share
1 answer
  • There are no rules about when we should. However, there are some cases where "we will" use it. For example, we will use it if we want C ++ developers to focus on core functionality rather than gui. We could use some web designers to create an interface
  • The main advantage is that C ++ developers donโ€™t need to focus on the user interface at all (well, a little โ€œintegrationโ€ between HTML ui and the C ++ core may be required).
  • It all depends on the experience you want to give the user. If you want to give "native look'n'feel", then Qt does most of the work with you using widgets. If you want to give a "fancy look'n'feel", you can use HTML. I do not see anything "unreasonable" in both methods of delivering user interfaces.
+6
source

Source: https://habr.com/ru/post/918154/


All Articles