I use sci-geosciences/gpsbabel-1.7.0-r1 without qt currently as I don't need any GUI and want to avoid the monster of qtwebengine. (Especially also as it depends on pulse and I have a pulse free system.) Now, the new version 1.9.0 have changed the meaning in a subtle way. When I have use -qt6, it builds with qt5 and otherwise with qt6. There is no way to deselect qt completely. Please make that package compile on a system without the qtwebengine monster.
This explains it: commit 612ad41ff7c2e1766aa2e9e807f142fe256b1ce6 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> Date: Mon Jan 30 09:12:52 2023 +0100 sci-geosciences/gpsbabel: drop use gui, add use qt6 Though the build system provides separate targets for the gui and cli tools, the cmake configure files do not reflect this and they will search for qt unconditionally. Patching is non-trivial because the source files for the gui and for the cli are not completely separated. The package does support qt6 but the upstream cmake files do not provide a means of selecting which to use and will choose a version automagically. A simple patch is enough to fix this. Closes: https://bugs.gentoo.org/852836 Closes: https://bugs.gentoo.org/892559 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
We might be able to make just qtwebengine optional, though: https://github.com/GPSBabel/gpsbabel/blob/master/gui/CMakeLists.txt#L33.
> We might be able to make just qtwebengine optional, though: https://github.com/GPSBabel/gpsbabel/blob/master/gui/CMakeLists.txt#L33. Yes, please.
This is what I use: https://github.com/gentoo/gentoo/pull/38806