wxWidgets
nodegui
Our great sponsors
wxWidgets | nodegui | |
---|---|---|
52 | 17 | |
5,721 | 8,740 | |
1.9% | 0.7% | |
9.9 | 7.6 | |
7 days ago | about 2 months ago | |
C++ | C++ | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wxWidgets
- Solitaire: Authentic remake of the Windows 95 original
-
Building Apps with Tauri and Elixir
The Elixir programming language is no stranger to desktop applications as the language actually supports building them out of the box. It uses wxWidgets: a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base. But wxWidgets has a very complex API, and doesn’t solve issues that usually come with desktop applications around packaging.
-
WxWidgets – open-source C++ cross platform GUI
Qt is also 100% open/free. In fact, both are available under the LGPL, just that wxWidgets also grants an exception to not have to distribute application sources even when statically linked:
https://github.com/wxWidgets/wxWidgets#licence
-
Need for GUIs for bioinformatic tools?
But for big programs, ones written in C++? Good luck it won’t be easy at all. You might try wxwidgets or qt. I do not predict trying to click box-ify complex cli tools yielding much success.
-
Create desktop application
In theory, you should be able to use FFI to interface with something like wxWindows, but you might again have problems on macOS, I don't know. And to me eyes, Wx looks a bit outdated.
-
IUP – Cross platform C GUI library
This seems to be like the classic wxWidgets [1], i.e. it's an API that wraps the underlying platform's default toolkit. So on Windows it uses Windows' native controls, in Linux it seems to use GTK, and so on.
That means that the advantage is being able to write against one API, and get cross-platform compatibility, which can be nice. It also means (typically) being limited in what you can do to the least common denominator, or you (=the toolkit author) end up having to re-implement features from one platform that you want to expose but that are missing on some supported target(s). Or, of course, have an API with non-portable parts in it.
In any case, it means the "look and feel" is not the core feature of the API since that is going to be "like the target platform" and that is the point.
Given the origin, I guess Lua support is important too, here.
[1]: https://www.wxwidgets.org/
-
Creating C++ windowed applications
- So, I found wxWidgets. Which looked good. However, when I followed some tutorials I was getting errors. Even when I copied and pasted the tutorial code. Furthermore, the library still doesn't seem to simplify the process much.
-
What does this icon belong to? I've seen it used in many pieces of software, but I never found out what it actually is from.
It is the icon for WXWidgets, a programming toolkit for making user interfaces that work on Windows, Mac OS and Linux.
-
Inkscape is hiring: Accelerating the GTK4 migration
In general, people will use a cross-platform library to port such applications. While QT will likely never really stabilize (I'd flag it unsustainable), the https://www.wxwidgets.org/ is able to be statically linked into commercial and opensource projects at no cost without tripping GPL.
"Hiring a senior C++ developer with GTK experience is costlier"
I think you are confusing skill valuation, and operational productivity. Some have an erroneous notion talent is interchangeable. Likewise, applicants with identical base skill-sets on their CV often mistakenly believe they even have long-term employment options (outsourced, youth tax credit churn, and or senior wage suppression).
Most FOSS people are easier to train, as most already can mitigate utter chaos already. =)
-
Is it possible to build a gui which is both cross compatible and native?
There are a few like that in the C++ community. WxWidgets is the most famous/popular with this approach. But it is a library almost impossible to use in other languages because their api is heavily templated.
nodegui
-
Brig: A user interface toolkit for Node.js, which is based on Qt for rendering
This looks like it hasn't been maintained in years but there's a modern equivalent in NodeGUI [1] which also has React/Svelte/Vue implementations. Unfortunately it requires a custom build of Node that merges the libuv and Qt6 event loops so YMMV.
It actually inspired me to write my own implementation with Svelte on top of QuickJS and Qt Widgets but the task of wrapping the entire Qt6 API in Rust proved to be intractable once I found out that most methods weren't marked Q_INVOKABLE and thus couldn't be called via reflection (requiring manual wrapping). Providing a `Document.createElement` API that created Qt Widgets with working attributes and event handling worked surprisingly well though!
[1] https://github.com/nodegui/nodegui
- Build performant, native and cross-platform desktop apps with Node.js and CSS
-
Does anybody have trouble running NodeGui projects? Does 'nodegui-starter' repo work for you?
Hi, so this NodeGui library for building apps with native components is something I really want to get into, but, it does not work for me.. so I am starting this thread to check with yous (I depleted google results) if any one of you have tips or workarounds I can use. I wish to build a desktop app, but I really do not want to bundle a web browser for that purpose and NodeGui seems perfect.
-
[Hiring] Create UI to Accept User Input using NodeGui to create a Native Desktop Application
Use NodeGui (or some equivalent tool) for this. Source: https://docs.nodegui.org/ This is needed because this entire project will run natively, by that I mean it will run with no browser, no local host and it no internet connection.
-
Neutralinojs - Alternativa para o Electron
NodeGUI
- NodeGui – Build performant, native, cross platform desktop apps
-
Electron Adventures: Episode 75: NodeGui React
Let's continue exploring Electron alternatives. This time, NodeGui. NodeGui uses Qt5 instead of Chromium, so we'll be leaving the familiar web development behind, but it tries to not be too far from it, as web development is what everyone knows.
- How do you create a cross-platform GUI without using Electron?
-
Are we GUI Yet? The state of building user interfaces in Rust
(Disclaimer: My knowledge of Rust very limited, but I have quite a bit of experience with getting Qt/KDE classes to work with other languages.)
You are absolutely right. The effort to be acceptable bindings for Qt would be a tiny fraction of the cost compared to building a whole new Rust native GUI library.
Qt is huge set of libraries with an equally huge API. But there are a lot of shortcuts and smart ways of approaching the problem to get what you want out of Qt for minimum effort.
Bindings like PyQt and even PySide go for the nuclear option of generating bindings for the whole Qt API and trying to match the C++ API in style too. This is an absolutely massive huge task. Also, getting people to contribute to an open source bindings project is hard. Getting people to contribute to a bindings generator is even harder.
NodeGui https://github.com/nodegui/nodegui, Qt bindings for Nodejs, on the other hand takes a very different approach which in one way is low-tech but I think is actually very smart. I'll summerise the differences:
* It focuses on Qt Widgets first. This greatly reduces the amount of work to the parts that people actually need. (BTW, if you just want QML and Rust back-end then Jos van den Oever's work at https://invent.kde.org/sdk/rust-qt-binding-generator has probably got you covered already.)
-
Todo list of development tasks
There is actually a new GUI framework based out of Qt (a C++ GUI framework) that I have found recently : https://docs.nodegui.org/
What are some alternatives?
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
neutralinojs - Portable and lightweight cross-platform desktop application development framework
gtkmm - Read-only mirror of https://gitlab.gnome.org/GNOME/gtkmm
QtScrcpy - Android real-time display control software
GTK+ - Read-only mirror of https://gitlab.gnome.org/GNOME/gtk
awesome-electron-alternatives - A curated list of awesome Electron alternatives.
nana - a modern C++ GUI library
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Signal-Desktop - A private messenger for Windows, macOS, and Linux.