lumina-desktop / lumina

Lumina Desktop Environment
http://lumina-desktop.org
BSD 3-Clause "New" or "Revised" License
531 stars 116 forks source link

I am using Qt 5.12.0 and I get a 'qsizetype' error. #767

Closed creeper-0910 closed 2 years ago

creeper-0910 commented 3 years ago

When I looked into it before, I was told that I could avoid the 'qsizetype' error by using Qt after 5.11, but my build is generating the same error. image

antis81 commented 3 years ago

Please make sure you have at least latest LTS Qt version installed (5.12.x).

If that doesn't fix the issue already:

#include <QtGlobal>
BrianA-MN commented 2 years ago

The build dependency is qt5.4+. But the error codes are for qt features that are introduced in 5.10 or 5.12? Is anyone working to update the github documentation then?

q5sys commented 2 years ago

@BrianA-MN I need to run a run through the documentation and get it up to date. It's on the todo list, just haven't quite gotten to it yet.

BrianA-MN commented 2 years ago

Thank you for taking on the maintenance of this project. You've taken on a huge task and I'd help if Lumina desktop is beneficial to older machines. I guess my statement was more of a question, i.e. does Lumina 1.6.x require a newer version of QT?

I have pulled a built copy of Lumina 1.4.0 from AlienBob's repository which runs under Slackware 14.2 with QT 5.9.6 and qt-webkit 5.7.1. I've received a built copy of 1.6.0 from the Slackbuild maintainer and will try that soon.

BrianA-MN commented 2 years ago

I'm trying to use keepass and can't get it to show in the systemtray when minimized. This is on Slackware64 14.2 Linux.

BTW how can I get the background, minimized windows to show based on a mouse button3 or other method?

Pax tecum, absit iniuria; BrianA_MN

=============================================================== Reply to the following email received Sun, 03 Oct 2021 20:38:17 -0700 from "q5sys (JT)" @.***> is above the double line.

@BrianA-MN I need to run a run through the documentation and get it up to date. It's on the todo list, just haven't quite gotten to it yet.

q5sys commented 2 years ago

I guess my statement was more of a question, i.e. does Lumina 1.6.x require a newer version of QT?

It shouldn't need anything newer than 5.12 My build box is 5.15, but I haven't added any structural code changes that should require it.

I'm trying to use keepass and can't get it to show in the systemtray when minimized.

I dont use keepass, I'll have to try to install it and see if I can reproduce your findings.

BTW how can I get the background, minimized windows to show based on a mouse button3 or other method?

Ooh, that's a good question. Since we're still using Fluxbox we're limited by what features it allows. You would configure that in the fluxbox keys file. You should be able to use xev to capture how the mouse buttons identify themselves and then use that as the modifier. So if your middle button idenfities as 'Mouse2' for example, you'd add something like this to the fluxbox keys file: Mouse2 :ToggleCmd {ShowDesktop} That 'should' hide/show all windows. so depending on your current desktop you might have to hit it twice. There may be a way to capture the state of the desktop and only show windows... but idk if that's possible.

On the slackware front, if there are patches in the slackbuilds scripts that you think might be able to be dealt with upstream (so long as they dont break things for every other distro and the BSDs) let me know. I'd like to get as much of that done upstream as possible.

BrianA-MN commented 2 years ago

Thanks for the feedback. On Linux Questions, there are a number of slackers who have build 1.6.0 with the 'current" branch of Slackware, which is the development branch and not "stable" release 14.2. "current" branch uses qt5-5.15.3, "stable" branch doesn't have qt5, but you have to build it from slackbuilds, which offers 5.12.8. I received from the slackbuilds maintainer a version of 5.12.8, but that still didn't allow lumina 1.6.0 to launch,it only gave a blank page. In the meantime I'm using 1.4.p1 and seeing if lumina or fvwm will be my preferred desktop on NetBSD. If QT isn't needed on NetBSD, probably fvwm3 will win. Cheers, BrianA_MN

=============================================================== Reply to the following email received Fri, 08 Oct 2021 08:00:23 -0700 from "q5sys (JT)" @.***> is above the double line.

I guess my statement was more of a question, i.e. does Lumina 1.6.x require a newer version of QT?
It shouldn't need anything newer than 5.12 My build box is 5.15, but I haven't added any structural code changes that should require it.

I'm trying to use keepass and can't get it to show in the systemtray when minimized.
I dont use keepass, I'll have to try to install it and see if I can reproduce your findings.

BTW how can I get the background, minimized windows to show based on a mouse button3 or other method?
Ooh, that's a good question. Since we're still using Fluxbox we're limited by what features it allows. You would configure that in the fluxbox keys file. You should be able to use xev to capture how the mouse buttons identify themselves and then use that as the modifier. So if your middle button idenfities as 'Mouse2' for example, you'd add something like this to the fluxbox keys file: Mouse2 :ToggleCmd {ShowDesktop} That 'should' hide/show all windows. so depending on your current desktop you might have to hit it twice. There may be a way to capture the state of the desktop and only show windows... but idk if that's possible.

On the slackware front, if there are patches in the slackbuilds scripts that you think might be able to be dealt with upstream (so long as they dont break things for every other distro and the BSDs) let me know. I'd like to get as much of that done upstream as possible.

q5sys commented 2 years ago

If I can get time I'll dig out my Slackware box... It should be on 14.0, so I should be able to update it to Current to see if I can figure out what's going on. As for NetBSD, qt is definitely needed for Lumina, but they have qt5-5.15.2 so there shouldn't be any issues.

q5sys commented 2 years ago

Update docs to update the statement of needing qt 5.4 to needing 5.12.x with https://github.com/lumina-desktop/lumina/commit/77e6449d870eb12f24d5dca1b44ef6d6809d6b7a This is in the v1.6.2 branch, the master branch will be updated at that release.

q5sys commented 2 years ago

Im going to close this ticket as I think I answered all your questions and I got the docs updated. If in my re-read of this I missed something and you still have an issue or still have a question, please open another ticket for me to track.

creeper-0910 commented 2 years ago

Sorry, I've been away from here for a bit. Thank you for resolving this!