diff --git a/desktop/CMakeModules/QtConfiguration.cmake b/desktop/CMakeModules/QtConfiguration.cmake index f01b7af114..c7bcff4f28 100644 --- a/desktop/CMakeModules/QtConfiguration.cmake +++ b/desktop/CMakeModules/QtConfiguration.cmake @@ -51,8 +51,10 @@ endif(WIN32) if(NOT EXISTS ${QTROOT}/bin/qt.conf) if(EXISTS ${QTROOT}/gcc_64/bin/qt.conf) set(QTROOT "${QTROOT}/gcc_64") + elseif(EXISTS ${QTROOT}/clang_64/bin/qt.conf) + set(QTROOT "${QTROOT}/clang_64") else() - message(FATAL_ERROR "Could not find qt.conf in ${QTROOT}/bin nor in ${QTROOT}/gcc_64/bin. Is QTROOT correctly defined?") + message(FATAL_ERROR "Could not find qt.conf in ${QTROOT}/bin nor in ${QTROOT}/clang_64/bin nor in ${QTROOT}/gcc_64/bin. Is QTROOT correctly defined?") endif() endif()