Skip to content

Port to Qt6 - #199

Open
diegoiast wants to merge 3 commits into
rodlie:mainfrom
diegoiast:main
Open

Port to Qt6#199
diegoiast wants to merge 3 commits into
rodlie:mainfrom
diegoiast:main

Conversation

@diegoiast

@diegoiast diegoiast commented May 20, 2025

Copy link
Copy Markdown

I am only dealing with CMake, and PRO files are legacy as Qt5. Code runs, but I cannot open external files (clicking a TXT file does nothing for example). The tray , does nothing. Menus behave properly now as Qt5 has very bad Wayland support. I am testing against Qt from debian, 6.8.3 and 6.9.0 from upstream. Not compiling with MAGIC support.

On the left, Qt5 build before the changes. On the right, Qt from debian:
qtfm-qt6

IMHO the code can be made to compiler on Qt5 (the normal CMake magic - just modify at the top, Qt::Widgets works on Qt5 and Qt6). I don't see any reason to spend time on this.

diegoiast and others added 3 commits May 20, 2025 22:37
I ported only CMake. QMake is not modified. Code may (?) compile with
Qt5, but I am not dealing with it.

I run the code once. Code does seem to work, but I do know that
"opening" a file is no longer working. Copy does seem to work
(which means also move). Delete as well.

qtfm-tray does load, but does nothing. I did not look into it any more.

Code in Qt6 behaves better in Wayland and probably in HighDPI in
Windows/OSX - so this is another good reason to upgrade (and Qt5 is
EOL).
@barracuda156

Copy link
Copy Markdown

@rodlie @diegoiast If it is possible to do without breaking Qt4 build, it will be great. I.e. retain fallbacks where needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants