Answer the question
In order to leave comments, you need to log in
Is there a native way to write a GUI in html/css for C++ programs?
Now I put electron on node js, how simple everything is there. GUI is just an html file.
In C ++, I did not find a normal library for implementing this. QT is heavy for the sake of one widget.
GTK+ hasn't figured out yet whether it's possible to shove webkit gtk into a project and catch events...
All other libraries are paid (comm use)
Are there easier ways to organize WEBUI, how can I shove a lightweight browser into a program? I don't know any Midori there.
Everything is naturally considered in the context of linux
Answer the question
In order to leave comments, you need to log in
Stop messing around and use normal GUI tools for a specific language.
Qt -heavy for one widget? And the browser for one widget is not heavy?
Write on Sharp or Delphi then. There, the GUI is much better and easier.
PS qt allows you to use css to customize controls.
Yes, on crosses sciter . The shell of the same Eset / avast and many others, on it.
If Qt is considered "heavy" for you, then alas, there is no way. The browser engine pulls about 50-100 megabytes, Qt, With all the bells and whistles, takes the same amount, however;
Qt is included in the distribution of almost all modern Linuxes, and the program linked to it takes a couple of hundred kilobytes. You don't need to carry Qt along with your program.
There is also Chromium Embedded Framework. It is written in C++, better than electron and faster. You can even shove a ReactJS application in there and enjoy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question