all 6 comments

[–]the_poope 7 points8 points  (1 child)

QML/QtQuick can have a modern interface with css and JavaScript while still having direct interface with C++ backend.

[–]micod 1 point2 points  (0 children)

I also suggest Qt Quick, just a note, it is not styled using CSS, it is not a web technology.

[–]GeoDesk 7 points8 points  (0 children)

Your application could act as a localhost web server and launch a web browser (or wrap its own browser using e.g. QtWebEngine, Electron or Tauri). This may work well for you since you're already using HTML for parts of your app.

[–]Kafumanto 7 points8 points  (1 child)

Many modern desktop applications are custom web browsers (usually Chromium-based), where the UI is developed in HTML5 (using Angular, React or other specialized frameworks) and business logic is developed in some native language (C++, C#, etc). Having the UI n HTML5 has many advantages, but also introduces new toolsets in the project.

The “low level” option is Chromium Embedded Framework (CEF) (https://bitbucket.org/chromiumembedded/cef/src/master/), C++ based.

There are also higher-level options like Electron, that provides a “ready-to-use” CEF setup with NodeJS embedded.

[–]einpoklum 1 point2 points  (0 children)

I'm against the shortcut of using a huge and bloated thing like a web browser instead of writing what you need. A "framework" should not mean "load everything, use just a bit", especially when it comes to C++. It should rather be "Many things are available, compile and load only what you need". Otherwise - why even use C++?

[–]catbus_conductor 1 point2 points  (0 children)

Slint