On systems with both qt5 and qt6 installed, cmake will use qt6 by default. Sugestion on adding an option WITH_QT6=OFF by default. I've take this from https://github.com/hluk/CopyQ/blob/master/CMakeLists.txt where qt6 is still experimental so this option is turned off.
I'm maintaining FreeBSD port(https://www.freshports.org/graphics/heimer/) and it builds fine under poudriere jails because port only ask for qt5, but it fails on my local account because I have both qt5 and qt6 installed.
I'm not a programmer, so please optimize or correct my sugestion.
On systems with both qt5 and qt6 installed, cmake will use qt6 by default. Sugestion on adding an option WITH_QT6=OFF by default. I've take this from https://github.com/hluk/CopyQ/blob/master/CMakeLists.txt where qt6 is still experimental so this option is turned off.
I'm maintaining FreeBSD port(https://www.freshports.org/graphics/heimer/) and it builds fine under poudriere jails because port only ask for qt5, but it fails on my local account because I have both qt5 and qt6 installed.
I'm not a programmer, so please optimize or correct my sugestion.
Cheers, Nuno Teixeira