summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/opengl/main.cpp
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-04-26 17:25:14 +0200
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-06-02 19:28:04 +0200
commit1eb4d17cb48a70501ebf51fc8732e14fec2cc12f (patch)
treee6c422f2a804bf6c56d5084e50c4e9fdce7df0d9 /tests/benchmarks/opengl/main.cpp
parentd67abb9de150bce764e263757aa2f0544faeedf5 (diff)
Generate and set a CFBundleIdentifier when none were provided on macOS
When using Ninja generator on macOS, we now do a bit of extra work to make sure that bundle identifier is always set. - In the case where no identifier was provided, the warning message has been updated indicating that the user can set either of the properties. - If both `MACOSX_BUNDLE_GUI_IDENTIFIER` and `XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER` were set but have different values, a warning will be shown to encourage the user to set only one of them. - In addition `_qt_internal_get_ios_bundle_identifier_prefix` is renamed to `_qt_internal_get_apple_bundle_identifier_prefix` to be more platform specific. Note: In general, if Ninja is the generator, we set the value of `MACOSX_BUNDLE_GUI_IDENTIFIER` and don't touch the `XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER`. If Xcode is the generator, we set the value of `XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER`, and in addition, to silence a Xcode warning, we set the `MACOSX_BUNDLE_GUI_IDENTIFIER` to `${PRODUCT_BUNDLE_IDENTIFIER}`, ie., let Xcode figures it out if needed. [ChangeLog][CMake][macOS] When using Ninja generator, if neither `XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER` nor `MACOSX_BUNDLE_GUI_IDENTIFIER` is provided for a target, a bundle identifier, i.e., `com.yourcompany.<teamid>.<target>` will be generated and set as CFBundleIdentifier. Pick-to: 6.5 Fixes: QTBUG-110889 Change-Id: Ie071085bbaf465afcb022b760423eb6b3c921f6d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/benchmarks/opengl/main.cpp')
0 files changed, 0 insertions, 0 deletions