--- a/cmake/jkqtplotter_common_qtsettings.cmake
+++ b/cmake/jkqtplotter_common_qtsettings.cmake
@@ -4,7 +4,7 @@
 set(CMAKE_AUTORCC ON)
 set(CMAKE_AUTOUIC ON)
 
-find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
+find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
 
 if(QT_VERSION_MAJOR LESS 5)
     message(FATAL_ERROR "Minimum supported Qt version is 5, but you are trying to compile against Qt${QT_VERSION_MAJOR}")
@@ -54,10 +54,10 @@
     if (CMAKE_BUILD_TYPE STREQUAL "Debug")
       find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt.debug.bat HINTS "${_qt_bin_dir}")
     else()
-      find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt HINTS "${_qt_bin_dir}")
+      find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt windeployqt6 HINTS "${_qt_bin_dir}")
     endif()
     if (NOT EXISTS ${JKQtPlotter_WINDEPLOYQT_EXECUTABLE})
-      find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt HINTS "${_qt_bin_dir}")
+      find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt windeployqt6 HINTS "${_qt_bin_dir}")
     endif()
     if (NOT EXISTS ${WINDEPLOYQT_EXECUTABLE})
       find_program(JKQtPlotter_WINDEPLOYQT_EXECUTABLE NAMES windeployqt.exe HINTS "${_qt_bin_dir}")
