I think I'll not be using mostly #Rust for my graphical programs since it takes way too long to compile all the libraries for #CXXQt on my #PinePhone and #PineTab2, but I can maybe use it for stuff that only uses a few libraries like the thing that runs to set up everything on startup (I'll launch it from a modified script originally intended for #LXQt on #LabWC). I like Rust better than C++ but the compile time is just too much unless I'm on my desktop.
#cxxqt — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cxxqt, aggregated by home.social.
-
-
I decided against even making Plasmoids becaise I realized it would be too much for me to do while keeping the programs available to run on their own, so I'm going to use Smithay and CXX-Qt to make a compositor (will need layer-shell-qt also, but it's C++ so I can use CXX-Qt for it too.) See also:
https://codeberg.org/DrewNaylor/Retiled/pulls/315
#Retiled #programming #Rust #Smithay #rustlang #CXXQt #KDEPlasma
-
Suddenly decided to work on splitting out the Tiles page so I can eventually make a plasmoid for #RetiledStart . Right now the main window should work still, but the plasmoid isn't ready yet. I did some testing for how I'd make a plasmoid with RetiledStyles, and at first the settings will need to be hard-coded until I can figure out how to do C++ plasmoids, or preferably #Rust with CXX-Qt.
1/3#Retiled #KDE #KDEPlasma #programming #CXXQt #QtQuick (it's what I use) #Qt #rustlang #CPlusPlus
-
I like the idea of using Rust and CXX-Qt instead of just C++ or #Python and #PySide, but the filesize for the qml_minimal example is 4.6 MB or so in Release builds, and I don't like the idea of shipping zip files that are 16 MB or more just for three small programs that don't do much (I'm also uncomfortable with #guinget's package size, but I need the libraries that make up that size for core features, I think #SQLite is the main one).
-
I built and ran CXX-Qt's qml_minimal example on #postmarketOS and wrote a page describing how to do it if you want to do the same thing and don't want to spend several hours trying to figure it out. Still haven't gotten the Cargo-only example to fully build, but this is already pretty good so it'll reduce the amount of C++ you'll have to use anyway.
https://codeberg.org/DrewNaylor/Retiled/src/branch/main/docs/building-cxx-qt-examples.md
-
There needs to be something easier and better than #Python with up-to-date bindings that can support building #Qt stuff with #musl libc. I really don't like using Python and only do because C++ (or rather, #CMake) is too hard to do new stuff in for me and CXX-Qt won't build with musl (could target a #glibc distro like #DanctNix #Arch, but then I'd be ignoring the entire set of devices supported by #postmarketOS). Why can't I just use #VB transpiled to #Rust?
-
"cxx-qt-lib" doesn't want to compile on my #PinePhone for some reason and I can't see why as QMLKonsole doesn't let me go that far back. Bummer. Not sure what it was but I get a bunch of stuff in the output. #postmarketOS in a VM next with output redirected to a file, I guess.
-
I've finally gotten CXX-Qt to work (decided to try modifying one of the examples) and it's amazing and I love it!
https://codeberg.org/DrewNaylor/Retiled/issues/259
#Rust #CXXQt #CXX #programming #Qt #QtQuick #Retiled (because this is about something related to the project, that being the fact that I'm going to rewrite Retiled in Rust instead of #Python)
-
In this article, KDAB's Andrew Hayzen, Leon Matthes and Be Wilson walk you through recommended principles to achieve the best of both the #rustlang and #qt world for #embedded applications. #cxxqt
https://www.embedded.com/best-practices-for-integrating-rust-and-qt-in-embedded-systems/