--- src/doc/man/CMakeLists.txt.orig	2026-05-23 14:59:55 UTC
+++ src/doc/man/CMakeLists.txt
@@ -46,11 +46,17 @@ endfunction(add_manual_pages)
 endfunction(add_manual_pages)
 
 # Set up which man pages to build and install
+if(QT_ONLY)
+add_manual_pages(qtel.1)
+else(QT_ONLY)
 add_manual_pages(
   svxlink.1 svxlink.conf.5 remotetrx.1 remotetrx.conf.5 siglevdetcal.1 devcal.1
-  svxreflector.1 svxreflector.conf.5 qtel.1 ModuleHelp.conf.5
+  svxreflector.1 svxreflector.conf.5 ModuleHelp.conf.5
   ModuleParrot.conf.5 ModuleEchoLink.conf.5 ModuleTclVoiceMail.conf.5
   ModuleDtmfRepeater.conf.5 ModulePropagationMonitor.conf.5
   ModuleSelCallEnc.conf.5 ModuleFrn.conf.5 ModuleTrx.conf.5
 )
-
+if (USE_QT)
+  add_manual_pages(qtel.1)
+endif(USE_QT)
+endif(QT_ONLY)
