--- src/qtel/CMakeLists.txt.orig	2018-03-04 18:59:29 UTC
+++ src/qtel/CMakeLists.txt
@@ -16,7 +16,14 @@ set(FORMS MainWindowBase.ui ComDialogBase.ui SettingsD
 set(RESOURCES qtel.qrc)
 
 # Libraries
+if(QT_ONLY)
+find_library(ASYNCCORE_LIB asynccore ${LIB_INSTALL_DIR})
+find_library(ASYNCAUDIO_LIB asyncaudio ${LIB_INSTALL_DIR})
+find_library(ECHOLIB_LIB echolib ${LIB_INSTALL_DIR})
+set(LIBS ${LIBS} ${ECHOLIB_LIB} asyncqt ${ASYNCAUDIO_LIB} ${ASYNCCORE_LIB} svxmisc)
+else(QT_ONLY)
 set(LIBS ${LIBS} echolib asyncqt asyncaudio asynccore svxmisc)
+endif(QT_ONLY)
 
 # Find the GSM codec library and include directory
 find_package(GSM REQUIRED)
