[WIP] Port to QT6 (#4348)#4573
Conversation
the get function in XmlListModel does not exist in qt6, God knows why so this serves as a temporary fix
Imports don't have versions according to QtDocs, so remove those. Also address several unqualified accesses (according to Qt Linter), still a couple left to do. Was done semi automatically using tooling, check if any issues come up. This fixes wallet creation mode aswell for some reason, idk why :)
Big changes to this thing happened
|
The CI is annoying to fix, if anyone else wants to do that feel free to I cba right now |
|
Two suggested patches submitted on IRC https://paste.debian.net/plainh/b68d7733 |
A third: https://paste.debian.net/plainh/e6f39911 |
|
I wasn't aware of the existence of a chatroom and would like to clarify a couple of things regarding this PR or comment on possible issues. I'm probably not going to install matrix or the likes unless absolutely necessary so I'll just do it here. Upstream fork repository: https://github.com/authorisation/monero-gui/tree/master Excerpts from 2026-03-18
Very possible, although I always push whenever I have pending changes, if it's not on my fork, I haven't worked on it yet.
I was honestly thinking the same thing and haven't really thought of a way to avoid that, maybe squashing the whole PR into one commit? That isn't really pleasant either though..
I'd go with it :P
Well an inconsistency is expected due to these commands being from two different operating systems, macos doesn't really have a native "nproc" command on the github images (not to my knowledge). Additionally as I've stated in this comment, I'd like someone else to take over that part. The CI would ideally have to be rewritten fully from scratch as it is a total mess as of now. It also definitely needs caching support to reduce some of the static build times as it compiles Dockerfiles on each run which wastes compute (QoL).
(In context to messy CI commits)
These are all written by my very human brain. In regards to AI usage, I exclusively use Copilot suggestions and the QML Linter to make writing code more convenient.
This is probably possible, requires more work but we should just be able to reuse old code. I would definitely advise against using qt5compat, it would make the UI look more consistent but at the cost of performance(?) and system bloat. I've already ported away from this component in this PR. |
implicitHeight and width were 0, so the card was rendering inside a zero width and height item
These just fail as this property was removed in qt6
Qt.quit doesn't work. Why? No idea.. worked in qt5.
|
I've tried fixing everything I could find. Feel free to review, commit or suggest changes now and obviously report any bugs I haven't found. CI is still unfixed also. |


If you want to submit patches without wanting to go through the trouble of creating a github account, you can do so by sending me an email at auth@waifu.club or share them in various IRC channels have someone else forward them here
QT5 is long deprecated and is slowly being killed by pretty much every distro.
Continuation of #4407 as it seems to have stopped progress.
Current status: Program runs and is pretty much usable with some quirks. #4573 (comment)