How to build native C++ apps with HTML/CSS UI?

后端 未结 5 1690
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 17:42

Is it possible to develop a C++ program while using HTML and CSS for the user interface? I know about programming with Javascript using a Webkit container, but I am really inter

5条回答
  •  野的像风
    2021-01-29 18:46

    Yes, it is possible. What you want is a C++ web framework. You could start by looking at CppCMS—a Free High Performance Web Development Framework (not a CMS) aimed for Rapid Web Application Development.

    Edit: After the question has been clarified, I think Awesomium would be a good fit for your needs.

    You can achieve the same functionality by embedding WebKit (or Gecko) but as far as I know that is exactly what Awesomium does behind the scenes.

    An alternative is librocket—a C++ interface middleware package designed for game applications. As you can guess from the description it is a good fit for games or real-time applications.

提交回复
热议问题