mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Qt6: fix Qt5 builds [3]
This commit is contained in:
parent
f1cb266f70
commit
ed048edb23
1 changed files with 10 additions and 7 deletions
|
@ -252,7 +252,6 @@ target_link_libraries(feather
|
|||
Qt::Gui
|
||||
Qt::Network
|
||||
Qt::Svg
|
||||
Qt::SvgWidgets
|
||||
Qt::Xml
|
||||
Qt::WebSockets
|
||||
${ICU_LIBRARIES}
|
||||
|
@ -266,6 +265,10 @@ target_link_libraries(feather
|
|||
SingleApplication::SingleApplication
|
||||
)
|
||||
|
||||
if(Qt6_FOUND)
|
||||
target_link_libraries(feather Qt::SvgWidgets)
|
||||
endif()
|
||||
|
||||
if(DEVICE_TREZOR_READY)
|
||||
target_link_libraries(feather ${TREZOR_DEP_LIBS})
|
||||
endif()
|
||||
|
@ -279,20 +282,20 @@ endif()
|
|||
|
||||
if(NOT APPLE AND NOT Qt6_FOUND)
|
||||
target_link_libraries(feather
|
||||
Qt::QSvgIconPlugin
|
||||
Qt::QSvgPlugin
|
||||
Qt5::QSvgIconPlugin
|
||||
Qt5::QSvgPlugin
|
||||
)
|
||||
endif()
|
||||
|
||||
if(STATIC)
|
||||
if(STATIC AND NOT Qt6_FOUND)
|
||||
if(NOT Qt6_FOUND)
|
||||
target_link_libraries(feather
|
||||
Qt::QSvgIconPlugin
|
||||
Qt::QSvgPlugin)
|
||||
Qt5::QSvgIconPlugin
|
||||
Qt5::QSvgPlugin)
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
target_link_libraries(feather
|
||||
Qt::QXcbIntegrationPlugin)
|
||||
Qt5::QXcbIntegrationPlugin)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue