Hi there just wanted to report that qt6-base:cmake-gui should be installed with cmake by default and not optional dependency othewrwise cmake-gui does not work and missing qt6-widgets
[corey@corey-pi4 ~]$ cmake-gui %f
cmake-gui: error while loading shared libraries: libQt6Widgets.so.6: cannot open shared object file: No such file or directory
After installing the “optional dependency” it fixes the issue and cmake-gui now runs.
cmake from Arch, so your request should be to the package maintainer.
But the PKGBUILD does say that you need qt6-base if you want to use cmake-gui.
Cmake-GUI is not a required part of cmake. So I think that’s why it’s an optional dependency.
Yeah I see but it is a bit weird that they made it optional when it seems like it actually needs it wouldn’t you agree?
No, since cmake-gui is not a needed funktion in the cmake package. If it was needed to run regular cmake, then yes.
I don’t mean for cmake itself as it’s a terminal application and doesn’t need it, I mean for cmake-gui for it to work
cmake-gui isn’t a separate package
Oh alright but cmake-gui still needs that dependency even if it isn’t needed for cmake itself
Anyways I might have to contact the maintainer of the package and let him know.
They know, from Arch pkgbuild
* qt6-base (optional) - cmake-gui
Here’s your official answer: FS#70788 - cmake-gui fails if qt6-base is optional dependency
cmake-gui is optional and hence fails if you don’t include the optional dependency needed to make optional stuff work.
This should not come as a surprise.