Make Qt Positioning examples self-contained
The satelliteinfo and weatherinfo examples referenced the macOS and
iOS Info.plist files from a common examples/positioning/shared folder.
This violates QUIP-13, which requires examples to be self-contained, and
prevents Qt Creator and the VS Code extension from copying an example out
of the example tree.
Give each example its own copy of the Info.plist files and reference them
via CMAKE_CURRENT_SOURCE_DIR (CMake) and a plain relative path (qmake).
The CMake Ninja-bug workaround that forced an absolute path for the shared
folder is no longer needed now that the files live next to the target.
Task-number: QTBUG-147524
Pick-to: 6.11 6.12
Change-Id: I85cbf3f3841353f78b5af64890c9a283485fbad8
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
| commit | 9e33065b7b85bbc96a4273a6956486de19c34db5 |
| parent | f118f420337f934f1520234828f56762ce4c7043 |
| author | Joerg Bornemann <joerg.bornemann@qt.io> |
| committer | Joerg Bornemann <joerg.bornemann@qt.io> |
| commit time | Wed, 17 Jun 2026 14:36:36 +0000 |
- M examples/positioning/satelliteinfo/CMakeLists.txt
- R100 examples/positioning/shared/Info.cmake.ios.plist
- R100 examples/positioning/shared/Info.cmake.macos.plist
- R100 examples/positioning/shared/Info.qmake.ios.plist
- R100 examples/positioning/shared/Info.qmake.macos.plist
- M examples/positioning/satelliteinfo/satelliteinfo.pro
- M examples/positioning/weatherinfo/CMakeLists.txt
- A examples/positioning/weatherinfo/Info.cmake.ios.plist
- A examples/positioning/weatherinfo/Info.cmake.macos.plist
- A examples/positioning/weatherinfo/Info.qmake.ios.plist
- A examples/positioning/weatherinfo/Info.qmake.macos.plist
- M examples/positioning/weatherinfo/weatherinfo.pro