various: ensure qt 5 compatibility

This commit is contained in:
itsmattkc
2022-10-31 18:18:49 -07:00
parent e94580c369
commit c5a86af181
6 changed files with 37 additions and 21 deletions
+5 -1
View File
@@ -106,7 +106,11 @@ set(QT_LIBRARIES
if (UNIX AND NOT APPLE)
list(APPEND QT_LIBRARIES DBus)
endif()
find_package(QT NAMES Qt6 Qt5 REQUIRED
find_package(QT
NAMES
Qt6
Qt5
REQUIRED
COMPONENTS
${QT_LIBRARIES}
OPTIONAL_COMPONENTS