Avalonia.FuncUI
aqtinstall
Our great sponsors
Avalonia.FuncUI | aqtinstall | |
---|---|---|
20 | 26 | |
831 | 833 | |
2.5% | - | |
8.4 | 8.2 | |
12 days ago | 9 days ago | |
F# | Python | |
MIT License | 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.
Avalonia.FuncUI
- AvaloniaUI: Create Multi-Platform Apps with .NET
- Course using F#: Write your own tiny programming system(s)
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.
Wonder if something like FuncUI [1] could be built on top of it.
-
Desktop UI with F# web frameworks?
OTOH, if desktop really is the primary focus, and if you can drop the idea of reusable UI code, then Avalonia is a great choice for F# as you can use a Avalonia.FuncUI and/or Elmish.Avalonia.
- Functional cross platform UI in F#
-
Why does it seem like Microsoft is actively ignoring AvaloniaUI?
And one more MVU for you https://github.com/fsprojects/Avalonia.FuncUI
- Is Maui dead on arrival?
-
Ask HN: How to make a native GUI with a modern language?
You might want to check out Avalonia.FuncUI, which lets you use F# and the cross-platform Avalonia framework to build desktop applications with an Elm-like architecture: https://github.com/fsprojects/Avalonia.FuncUI#example-using-...
- Looking to write F# WinUI 3 stuff - does anyone have real world examples?
aqtinstall
-
Adventures in Debian's Qt Land
I mostly disagree. Like you said, Qt is the best native GUI toolkit available today. And that is a hard achievement. There are many tradeoffs (some you pointed out) but the open source community seems to find a way around those limitations. There are thousands of open source libraries you can plug-in into your Qt app to overcome many of its limitations (although some remain, like how can't we still not easily change caret/cursor color of QTextEdit??).
Unlike you, I like the direction where Qt is taking. I think QML and Qt Quick are great. I just implemented a feature in my note-taking app that turns Markdown text into Kanban board using QML and the experience has been great (https://github.com/nuttyartist/notes/pull/574). I'm planning to continue transition from QWidgets to QML/Qt Quick.
I do worry of the continuous friction with open source development and hate the online installers as well. I can recommend this useful tool https://github.com/miurahr/aqtinstall that allows you to easily download prebuilt Qt binaries. I hope they can revert their approach on that.
-
KDE Plasma development switches to Qt 6 tomorrow
https://github.com/miurahr/aqtinstall will help you with that.
- Getting “QT with MinGW support”?
-
Qt 6.4 Released
you can install it from vcpkg or conan (or https://github.com/miurahr/aqtinstall if you really want the official Qt binaries) and it'll be much less
-
Trouble Building Qt6/5
Is there any particular reason why you want to build Qt yourself? This is usually quite painful and requires a lot of extra stuff (see https://wiki.qt.io/Building\_Qt\_6\_from\_Git) . If you just want to avoid the (horrible) official installer and a Qt account, you can use aqtinstaller to fetch everything you need: https://github.com/miurahr/aqtinstall
-
Please do not use Python for tooling
Just recently, I had to recompile a (singleplayer) save game editor. So basically a GUI that does some clever hex editing.
It was written in C++ using Qt.
Have you ever tried compiling a Qt program on Windows? It involves signing up for an official Qt developer account to even install qmake.
To the point I had to use an unofficial Qt installer CLI app (aqtinstall) [0] to even install the toolchain to build this little shitty app... which still relied on having several Qt .dll files in the same directory as the .exe to work.
Have you clicked on [0] yet? Well, then guess what programming language aqtinstall uses.
-
Qt6 and Docker
No need for credentials with the aqtinstaller. https://github.com/miurahr/aqtinstall
-
Performance Improvements in .NET 6
I'll be honest I don't think that doing C++ on windows is a good idea. The language needs to do a lot of file access for includes, and on NTFS those are super slow, my builds on Linux are something like 1/3 of the time on windows (building with the same commit of clang 12 and lld, same computer, same SSD).
But if you don't want to install a Linux partition, then just use aqt to install Qt: https://github.com/miurahr/aqtinstall
You want win64_msvc2019_64 as a platform.
Way too often I see everyone clicking on everything in the installer which amounts to a 30gb download, but for the immense majority of Qt apps you just want the core libs for your platform which is like a couple hundred megabytes (and even then in practice you're going to use only a small part of those unless you have uncommon needs such as serial port, modbus or NFC communication, XML parsing, ...)
-
GUI?
For installing on a docker container it is a far better idea to use Conan or https://github.com/miurahr/aqtinstall
-
How do I install Qt5 without an account?
The reason is that the Qt Company sucks. You can use https://github.com/miurahr/aqtinstall or one of the windows package managers like vcpkg https://github.com/Microsoft/vcpkg.
What are some alternatives?
Fabulous - Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
MySqlConnector - MySQL Connector for .NET
archinstall_gui - Guided Arch Linux graphical installer
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Elmish.WPF - Static WPF views for elmish programs
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
Crow - A Fast and Easy to use microframework for the web.
Feliz - A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness
GuiLite - ✔️The smallest header-only GUI library(4 KLOC) for all platforms