diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2022-03-17 07:47:57 +0200 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@insta.fi> | 2022-03-18 07:09:15 +0200 |
commit | d4b1a6122914694e524b3cf35e7bd3be540b2b98 (patch) | |
tree | 7d62e104dd0b474076cfe4f5501727a768352969 /examples | |
parent | 74cf0ee764d7756d12eff3aa523c76d6dae8bde1 (diff) |
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>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bluetooth/heartrate-server/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-server/CMakeLists.txt b/examples/bluetooth/heartrate-server/CMakeLists.txt index 3b8efd54..4f0c68de 100644 --- a/examples/bluetooth/heartrate-server/CMakeLists.txt +++ b/examples/bluetooth/heartrate-server/CMakeLists.txt @@ -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 ) |