Add bluetooth example app Qt::Gui linkage on iOS
Fixes: QTBUG-101720 Pick-to: 6.3 Change-Id: I5d6e1e51ef73521390a3903b8ff1f225ea5dfa83 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
74cf0ee764
commit
d4b1a61229
|
@ -11,7 +11,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/bluetooth/heartrate-server")
|
|||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Bluetooth Core)
|
||||
|
||||
if(ANDROID)
|
||||
if(ANDROID OR IOS)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Gui)
|
||||
endif()
|
||||
|
||||
|
@ -29,7 +29,7 @@ target_link_libraries(heartrate-server PUBLIC
|
|||
Qt::Core
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
if(ANDROID OR IOS)
|
||||
target_link_libraries(heartrate-server PUBLIC
|
||||
Qt::Gui
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue