Remove unused build systems (Qt4, CMakeBootstrap)
There are some build systems that are not used by any module.
There are the following build systems currently:
- generic
- Autotools
- CMakeBootstrap
- KDE Cmake
- Meson
- QMake
- QMake6
- Qt4
- Qt5
- Qt6
I have run the following command:
kdesrc-build --query build-system | cut -f2 -d ":" | sort -u
When my config includes the kf5-qt5.ksb
I have the following output:
autotools
generic
KDE CMake
meson
qmake
Qt5
When my config includes the kf6-qt6.ksb
I have the following output:
autotools
generic
KDE CMake
meson
qmake6
Qt6
So we can see, that Qt4
and CMakeBootstrap
were never used.
What are their purpose currently? Are they used for any custom modules defined in user configs?
If not, I propose deleting them.
The CMakeBootstrap has this header documentation:
This is a module used to do only one thing: Bootstrap CMake onto a system that doesn't have it, or has only an older version of it.
The Qt4 package has a strange comment:
Build system for the Qt4 toolkit. It actually works for Qt6 qtbase as well because of how simple it is but don't tell anyone that.