The code section beginning here seems to be defunct.
It is probably supposed to install Qt apps. But the first line in this section is executed at the configure time, but it expects binaries to be present in QTBIN, which can only happen after the build. So QTAPPS and QTTOOLS variables are always empty, and they aren't installed.
Additionally, the environments/Qt/apps subdirectory should be included in CMakeLists.txt in order to be built, and this doesn't seem to ever happen.
The code section beginning here seems to be defunct.
It is probably supposed to install Qt apps. But the first line in this section is executed at the configure time, but it expects binaries to be present in QTBIN, which can only happen after the build. So QTAPPS and QTTOOLS variables are always empty, and they aren't installed.
Additionally, the environments/Qt/apps subdirectory should be included in CMakeLists.txt in order to be built, and this doesn't seem to ever happen.