mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Qt6: fix Qt5 builds
This commit is contained in:
+1
-2
@@ -11,7 +11,6 @@ set(QT_COMPONENTS
|
||||
Gui
|
||||
Network
|
||||
Svg
|
||||
SvgWidgets
|
||||
Xml
|
||||
WebSockets
|
||||
)
|
||||
@@ -22,7 +21,7 @@ if (WITH_SCANNER)
|
||||
MultimediaWidgets)
|
||||
endif()
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS})
|
||||
find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS} SvgWidgets)
|
||||
if (NOT Qt6_FOUND)
|
||||
find_package(Qt5 5.15 REQUIRED COMPONENTS ${QT_COMPONENTS})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user