Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cmake-configure-variables.qdoc
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/* NOTE: The variables documented here are available when running CMake, they
5** are not available in a deployment script. Both these and the set of
6** deploy-time variables are all members of the cmake-variables-qtcore
7** group.
8**/
9
10/*!
11\group cmake-variables-qtcore
12\title CMake Variables in Qt6 Core
13\brief Lists CMake variables defined in Qt6::Core.
14
15The following CMake variables are defined when Qt6::Core is loaded, for instance
16with
17
18\badcode
19find_package(Qt6 REQUIRED COMPONENTS Core)
20\endcode
21
22\sa{CMake Variable Reference}
23*/
24
25/*!
26\page cmake-variable-android-ndk-host-system-name.html
27\ingroup cmake-variables-qtcore
28
29\title ANDROID_NDK_HOST_SYSTEM_NAME
30\target cmake-variable-ANDROID_NDK_HOST_SYSTEM_NAME
31
32\summary {Android-specific architecture of the host system.}
33
34\cmakevariablesince 6.0
35\preliminarycmakevariable
36\cmakevariableandroidonly
37
38Usually, this variable is set by the Android NDK toolchain file. It is written out as
39part of the deployment settings for a target.
40
41\sa{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}
42*/
43
44/*!
45\page cmake-variable-android-sdk-root.html
46\ingroup cmake-variables-qtcore
47
48\title ANDROID_SDK_ROOT
49\target cmake-variable-ANDROID_SDK_ROOT
50
51\summary {Location of the Android SDK.}
52
53\cmakevariablesince 6.0
54\preliminarycmakevariable
55\cmakevariableandroidonly
56
57Specifies the location of the Android SDK when building for the Android platform.
58This variable is written out as part of the deployment settings for a target.
59
60\sa{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}.
61*/
62
63/*!
64\page cmake-variable-qt-android-application-arguments.html
65\ingroup cmake-variables-qtcore
66\ingroup cmake-android-manifest-properties
67
68\title QT_ANDROID_APPLICATION_ARGUMENTS
69\target cmake-variable-QT_ANDROID_APPLICATION_ARGUMENTS
70
71\summary {List of arguments to pass to Android applications.}
72
73\cmakevariablesince 6.0
74\preliminarycmakevariable
75\cmakevariableandroidonly
76
77Contains a list of arguments to be passed to Android applications. This variable
78is written out as part of the deployment settings for a target.
79
80\sa{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}
81*/
82
83/*!
84\page cmake-variable-qt-android-post-build-gradle-cleanup.html
85\ingroup cmake-variables-qtcore
86\ingroup cmake-android-manifest-properties
87
88\title QT_ANDROID_POST_BUILD_GRADLE_CLEANUP
89\target cmake-variable-QT_ANDROID_POST_BUILD_GRADLE_CLEANUP
90
91\summary {Perform a Gradle cleanup after the Android package is created.}
92
93\cmakevariablesince 6.11
94\preliminarycmakevariable
95\cmakevariableandroidonly
96
97After the Android package build is done and the APK is created, perform a Gradle
98clean task to remove build artifacts. This is useful to keep disk space taken
99by Qt for Android projects at a minimal.
100
101\sa{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}
102*/
103
104/*!
105\page cmake-variable-qt-android-create-symlinks-only.html
106\ingroup cmake-variables-qtcore
107\ingroup cmake-android-manifest-properties
108
109\title QT_ANDROID_CREATE_SYMLINKS_ONLY
110\target cmake-variable-QT_ANDROID_CREATE_SYMLINKS_ONLY
111
112\summary {Only create symlinks for dependencies under the Gradle project directory.}
113
114\cmakevariablesince 6.11
115\preliminarycmakevariable
116\cmakevariableandroidonly
117
118Create symlinks for shared libraries, jars and resource, etc. instead of a full
119copy. This can be useful to avoid projects taking extra space, and instead directly
120use, for example, library files referenced from a Qt installation.
121
122\sa{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}
123*/
124
125/*!
126\page cmake-variable-qt-android-deployment-type.html
127\ingroup cmake-variables-qtcore
128\ingroup cmake-android-build-properties
129
130\title QT_ANDROID_DEPLOYMENT_TYPE
131\target cmake-variable-QT_ANDROID_DEPLOYMENT_TYPE
132
133\summary {Forces or disables release package signing regardless of the build type.}
134
135\cmakevariablesince 6.7
136\preliminarycmakevariable
137\cmakevariableandroidonly
138
139When set to \c Release, the \c --release flag is passed to the \c
140androiddeployqt tool, regardless of the application build type. When set to
141another value, the \c --release flag is never passed to the tool, which
142effectively disables release package signing even in Release or RelWithDebInfo
143builds. When not set, the default behavior is to use release package signing in
144build types other than Debug.
145
146\sa {androiddeployqt}
147*/
148
149/*!
150\page cmake_variable-qt-android-multi-abi-forward-vars
151\ingroup cmake-variables-qtcore
152\ingroup cmake-android-build-properties
153
154\title QT_ANDROID_MULTI_ABI_FORWARD_VARS
155\target cmake-variable-QT_ANDROID_MULTI_ABI_FORWARD_VARS
156
157\summary {Allows to share CMake variables in multi-ABI builds.}
158
159\cmakevariablesince 6.4.2
160\preliminarycmakevariable
161\cmakevariableandroidonly
162
163Allows specifying the list of
164CMake variables that need to be forwarded from the main ABI project to
165ABI-specific subprojects. Due to the specifics of the Multi-ABI project build
166process, there is no generic way to forward the CMake cache variables
167that are specified either in the command line or in another similar way.
168
169A typical use case for the variable is propagating CMake cache variables
170specified in the command line. For example, a project has two variables
171\c{PROJECT_WIDE_VARIABLE1} and \c{PROJECT_WIDE_VARIABLE2} that affect the
172project configuration:
173\badcode
174cmake_minimum_required(VERSION 3.18)
175
176project(MyProject LANGUAGES CXX)
177
178find_package(Qt6 REQUIRED COMPONENTS Core)
179
180qt_add_executable(MyApp main.cpp)
181
182if(PROJECT_WIDE_VARIABLE1)
183 target_sources(MyApp PRIVATE sourcefile1.cpp)
184endif()
185if(PROJECT_WIDE_VARIABLE2)
186 target_sources(MyApp PRIVATE sourcefile2.cpp)
187endif()
188\endcode
189
190The above contents of \c{CMakeLists.txt} enable you to control how
191\c{MyApp} is built by setting the corresponding CMake variables from the
192command line:
193\badcode
194qt-cmake -S<source directory> -B<build directory> \
195 -DPROJECT_WIDE_VARIABLE1=ON \
196 -DPROJECT_WIDE_VARIABLE2=ON \
197 -DQT_ANDROID_MULTI_ABI_FORWARD_VARS="PROJECT_WIDE_VARIABLE1;PROJECT_WIDE_VARIABLE2"
198\endcode
199
200When configuring the application for desktop, \c{PROJECT_WIDE_VARIABLE1} and
201\c{PROJECT_WIDE_VARIABLE2} are visible in CMake listings and scripts as global
202cache variables. This doesn't work for Android Multi-ABI builds because
203ABI-specific subprojects do not inherit the cache variables from the main-ABI
204project. This issue can be solved by passing the list of required variables to
205the \c{QT_ANDROID_MULTI_ABI_FORWARD_VARS} variable, so both
206\c{PROJECT_WIDE_VARIABLE1} and \c{PROJECT_WIDE_VARIABLE2} values will be
207propagated to the ABI-specific builds.
208
209The variable can be also defined in the project's CMakeLists.txt:
210\badcode
211...
212qt_add_executable(MyApp main.cpp)
213...
214if(ANDROID)
215 set(QT_ANDROID_MULTI_ABI_FORWARD_VARS "PROJECT_WIDE_VARIABLE1;PROJECT_WIDE_VARIABLE2")
216endif()
217...
218\endcode
219
220Set the variable in this way to have a predefined set of
221variables that will always be forwarded to ABI-specific projects.
222
223\note The forwarding is done in the target finalizer, which is implicitly
224called when \l{qt6_add_executable}{qt_add_executable()} is used. The
225finalization occurs automatically when using CMake 3.19 or later.
226
227\sa {qt6_finalize_target}{qt_finalize_target()},
228 {qt6_add_executable}{qt_add_executable()}
229*/
230
231/*!
232\page cmake-variable-qt-android-build-all-abis.html
233\ingroup cmake-variables-qtcore
234\ingroup cmake-android-build-properties
235
236\title QT_ANDROID_BUILD_ALL_ABIS
237\target cmake-variable-QT_ANDROID_BUILD_ALL_ABIS
238
239\summary {Enables building multi-ABI packages using the autodetected \Q4A SDK list.}
240
241\cmakevariablesince 6.3
242\preliminarycmakevariable
243\cmakevariableandroidonly
244
245Automatically detects available ABIs of \Q4A and uses them to
246build a package. The automatic detection expects the default directory structure
247supplied by the Qt installer, with the corresponding naming of the directories.
248\include cmake-android-supported-abis.qdocinc
249The typical directory structure looks as below:
250\badcode
251/path/to/Qt/6.x.x
252 android_armv7
253 android_arm64_v8a
254 android_x86
255 android_x86_64
256 ...
257\endcode
258The auto-detected paths can be customized using one of \c{QT_PATH_ANDROID_ABI_<ABI>} variables.
259
260The variable is set to \c FALSE by default.
261
262\note The multi-ABI project build process does not offer a generic way to
263forward the CMake cache variables that are specified either in the command line
264or in another similar way. Use QT_ANDROID_MULTI_ABI_FORWARD_VARS to specify the
265list of CMake variables to forward from the main ABI project to ABI-specific
266subprojects.
267
268\sa{QT_PATH_ANDROID_ABI_<ABI>},{QT_ANDROID_MULTI_ABI_FORWARD_VARS}
269*/
270
271/*!
272\page cmake-variable-qt-android-abis.html
273\ingroup cmake-variables-qtcore
274\ingroup cmake-android-build-properties
275
276\title QT_ANDROID_ABIS
277\target cmake-variable-QT_ANDROID_ABIS
278
279\summary {List of ABIs that the project packages are built for.}
280
281\cmakevariablesince 6.3
282\preliminarycmakevariable
283\cmakevariableandroidonly
284
285Specifies a list of ABIs to be used to build the project packages.
286\include cmake-android-supported-abis.qdocinc
287Each ABI should have the corresponding \Q4A either installed or
288user-built. To specify the path to the \Q4A ABI, use
289the corresponding \c{QT_PATH_ANDROID_ABI_<ABI>} variable.
290
291\note \c{QT_ANDROID_BUILD_ALL_ABIS} has the higher priority and ignores the
292QT_ANDROID_ABIS logic.
293
294\sa{QT_PATH_ANDROID_ABI_<ABI>}, {QT_ANDROID_BUILD_ALL_ABIS}
295*/
296
297/*!
298\page cmake-variable-qt-path-android-abi.html
299\ingroup cmake-variables-qtcore
300
301\title QT_PATH_ANDROID_ABI_<ABI>
302\target cmake-variable-QT_PATH_ANDROID_ABI_<ABI>
303
304\summary {Set of variables to specify the path to \Q4A for the corresponding ABI.}
305
306\cmakevariablesince 6.3
307\preliminarycmakevariable
308\cmakevariableandroidonly
309
310Each variable can be used to specify the path to \Q4A for the corresponding ABI.
311\include cmake-android-supported-abis.qdocinc
312
313\sa{cmake-variable-QT_ANDROID_ABIS}{QT_ANDROID_ABIS}
314*/
315
316/*!
317\page cmake-variable-qt-android-sign-aab.html
318\ingroup cmake-variables-qtcore
319\ingroup cmake-android-build-properties
320
321\title QT_ANDROID_SIGN_AAB
322\target cmake-variable-QT_ANDROID_SIGN_AAB
323
324\summary {Signs the .aab package with the specified keystore, alias, and store password.}
325\cmakevariablesince 6.4
326\preliminarycmakevariable
327\cmakevariableandroidonly
328
329Signs the resulting package. The path of the keystore file, the alias of the key, and passwords
330have to be specified by additional environment variables:
331\badcode
332 QT_ANDROID_KEYSTORE_PATH
333 QT_ANDROID_KEYSTORE_ALIAS
334 QT_ANDROID_KEYSTORE_STORE_PASS
335 QT_ANDROID_KEYSTORE_KEY_PASS
336\endcode
337The mentioned variables are used internally by \l{androiddeployqt}.
338
339\sa{androiddeployqt}
340*/
341
342/*!
343\page cmake-variable-qt-android-sign-apk.html
344\ingroup cmake-variables-qtcore
345\ingroup cmake-android-build-properties
346
347\title QT_ANDROID_SIGN_APK
348\target cmake-variable-QT_ANDROID_SIGN_APK
349
350\summary {Signs the package with the specified keystore, alias, and store password.}
351\cmakevariablesince 6.4
352\preliminarycmakevariable
353\cmakevariableandroidonly
354
355Signs the resulting package. The path of the keystore file, the alias of the key, and passwords
356have to be specified by additional environment variables:
357\badcode
358 QT_ANDROID_KEYSTORE_PATH
359 QT_ANDROID_KEYSTORE_ALIAS
360 QT_ANDROID_KEYSTORE_STORE_PASS
361 QT_ANDROID_KEYSTORE_KEY_PASS
362\endcode
363The mentioned variables are used internally by \l{androiddeployqt}.
364
365\sa{androiddeployqt}
366*/
367
368/*!
369\page cmake-variable-qt-android-generate-java-qml-components.html
370\ingroup cmake-variables-qtcore
371\ingroup cmake-android-build-properties
372
373\title QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS
374\target cmake-variable-QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS
375
376\summary {Enables the generation of QtQuickViewContent-based classes.}
377\cmakevariablesince 6.8
378\preliminarycmakevariable
379\cmakevariableandroidonly
380
381This variable enables Java code generation for QML components of the target application. The
382generated code will be included in the resulting package. The Java package name of generated
383classes will be the same as the Android app package. If the leaf part of the package name is
384not the same as the target executable, an extra static class with the same name as the
385capitalized target executable will surround all QML modules enclosing Java classes. Each QML
386module class, again in a capitalized form, will contain QtQuickViewContent extension classes
387that represent QML components of that module.
388*/
389
390\sa{androiddeployqt}
391/*!
392\page cmake-variable-qt-use-target-android-build-dir.html
393\ingroup cmake-variables-qtcore
394
395\title QT_USE_TARGET_ANDROID_BUILD_DIR
396\target cmake-variable-QT_USE_TARGET_ANDROID_BUILD_DIR
397
398\summary {Enables the use of per-target Android build directories.}
399
400\cmakevariablesince 6.7
401\preliminarycmakevariable
402\cmakevariableandroidonly
403
404The variable appends the target-specific suffix to the android-build directory.
405The variable only takes an effect when it's set in \c CACHE. The variable is
406only supported by Qt Creator starting from version 13.
407If a single \c CMakeLists.txt contains more than one Android executable and
408this option is not set, you will see a warning. To disable the warning, set
409\c QT_SKIP_ANDROID_BUILD_DIR_CHECK to \c TRUE.
410*/
411
412/*!
413\page cmake-variable-qt-no-collect-build-tree-apk-deps.html
414\ingroup cmake-variables-qtcore
415
416\title QT_NO_COLLECT_BUILD_TREE_APK_DEPS
417\target cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS
418
419\summary {Prevents collecting of project-built shared library targets during Android deployment.}
420
421\cmakevariablesince 6.3
422\preliminarycmakevariable
423\cmakevariableandroidonly
424
425During project finalization, the build system collects the locations of
426all built shared library targets in the project.
427These locations are passed to \l androiddeployqt for deployment consideration when
428resolving dependencies between libraries.
429To disable this behavior, set this variable to \c TRUE.
430
431\sa {qt6_finalize_project}{qt_finalize_project()}
432\sa {cmake-variable-QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS}{QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS}
433*/
434
435/*!
436\page cmake-variable-qt-no-collect-imported-target-apk-deps.html
437\ingroup cmake-variables-qtcore
438
439\title QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS
440\target cmake-variable-QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS
441
442\summary {Prevents collecting of imported targets during Android deployment.}
443
444\cmakevariablesince 6.5
445\preliminarycmakevariable
446\cmakevariableandroidonly
447
448When using CMake version 3.21 or later, the build system collects the locations of
449imported shared library targets that might be relevant for deployment.
450The collected targets are those that are reachable from the directory scope
451of the currently processed executable target. That includes the target's source directory
452scope and its parents.
453The collected locations are passed to \l androiddeployqt for deployment consideration when
454resolving dependencies between libraries.
455To disable this behavior, set this variable to \c TRUE.
456
457\sa {qt6_finalize_project}{qt_finalize_project()}
458\sa {cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS}{QT_NO_COLLECT_BUILD_TREE_APK_DEPS}
459*/
460
461/*!
462\page cmake-variable-qt-host-path.html
463\ingroup cmake-variables-qtcore
464
465\title QT_HOST_PATH
466\target cmake-variable-QT_HOST_PATH
467
468\summary {Location of the host Qt installation when cross-compiling.}
469
470\cmakevariablesince 6.0
471
472When cross-compiling, this variable must be set to the install location of Qt for the host
473platform. It is used to locate tools to be run on the host (\l{moc}, \l{rcc},
474\l{androiddeployqt}, and so on). It's possible to reuse pre-installed tools
475when compiling Qt for host systems too, by using \c QT_HOST_PATH that points to
476a pre-installed host Qt and setting the \c QT_FORCE_FIND_TOOLS to \c ON. The Qt
477versions should match in this case.
478*/
479
480/*!
481\page cmake-variable-qt-no-set-xcode-development-team-id.html
482\ingroup cmake-variables-qtcore
483
484\title QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID
485\target cmake-variable-QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID
486
487\summary {Disables providing a fallback team ID during target finalization on iOS.}
488
489\cmakevariablesince 6.1
490
491When finalizing an executable target on iOS,
492\l{qt6_finalize_target}{qt_finalize_target()} will populate the target's
493\c XCODE_ATTRIBUTE_DEVELOPMENT_TEAM property if it hasn't been set.
494To prevent this, set \c QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID to \c TRUE.
495*/
496
497/*!
498\page cmake-variable-qt-no-set-xcode-bundle-identifier.html
499\ingroup cmake-variables-qtcore
500
501\title QT_NO_SET_XCODE_BUNDLE_IDENTIFIER
502\target cmake-variable-QT_NO_SET_XCODE_BUNDLE_IDENTIFIER
503
504\summary {Disables providing a fallback app bundle ID during target finalization on iOS.}
505
506\cmakevariablesince 6.1
507
508When finalizing an executable target on iOS,
509\l{qt6_finalize_target}{qt_finalize_target()} will populate the target's
510\c XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER and
511\c MACOSX_BUNDLE_GUI_IDENTIFIER properties if they haven't been set.
512To prevent this, set \c QT_NO_SET_XCODE_BUNDLE_IDENTIFIER to \c TRUE.
513*/
514
515/*!
516\page cmake-variable-qt-enable-verbose-deployment.html
517\ingroup cmake-variables-qtcore
518
519\title QT_ENABLE_VERBOSE_DEPLOYMENT
520\target cmake-variable-QT_ENABLE_VERBOSE_DEPLOYMENT
521
522\summary {Enables verbose mode of deployment tools.}
523
524\cmakevariablesince 6.3
525\preliminarycmakevariable
526
527Enables verbose mode of the \l androiddeployqt deployment tool when it is called
528internally at build time, usually during target finalization.
529
530This variable also changes the default verbosity of install-time deployment
531scripts for other platforms (see \l{qt6_deploy_runtime_dependencies()}), but it
532must be set before the first \c{find_package(Qt6)} call to have that effect.
533*/
534
535/*!
536\page cmake-variable-qt-deploy-support.html
537\ingroup cmake-variables-qtcore
538
539\title QT_DEPLOY_SUPPORT
540\target cmake-variable-QT_DEPLOY_SUPPORT
541
542\summary {Name of the file to include for setting up deployment support.}
543
544\cmakevariablesince 6.3
545\preliminarycmakevariable
546\note The value of this variable should never be modified by project code.
547
548This configure-phase variable is set by the Core package. It is intended to be
549used as the first line of any deployment script to ensure access to the
550deployment APIs provided by Qt. Such deployment scripts do not run during
551CMake's configure phase. They are executed during installation or as
552part of a post-build rule.
553
554The following example shows one way the variable would be used when installing
555an application, along with its runtime dependencies:
556
557\include cmake-deploy-modified-variable-values.qdocinc
558
559\sa {qt6_deploy_runtime_dependencies}{qt_deploy_runtime_dependencies()},
560 {qt6_deploy_qml_imports}{qt_deploy_qml_imports()}
561*/
562
563/*!
564\page cmake-variable-qt-no-standard-project-setup.html
565\ingroup cmake-variables-qtcore
566
567\title QT_NO_STANDARD_PROJECT_SETUP
568\target cmake-variable-QT_NO_STANDARD_PROJECT_SETUP
569
570\summary {Prevents subsequent calls to qt_standard_project_setup() from making any changes.}
571
572\cmakevariablesince 6.3
573
574The \l{qt6_standard_project_setup}{qt_standard_project_setup()} command is
575typically called in the top level \c{CMakeLists.txt} file of a project. In some
576scenarios, such a project may be absorbed as a child project of a larger project
577hierarchy. A parent project may want to prevent any child project from applying
578changes to the setup. The parent project can achieve this by setting
579\c{QT_NO_STANDARD_PROJECT_SETUP} to \c TRUE before bringing in the child project
580via \l{add_subdirectory()}, \l{FetchContent_MakeAvailable()}, or other similar
581methods provided by CMake.
582
583\sa {qt6_standard_project_setup}{qt_standard_project_setup()}
584*/
585
586/*!
587\page cmake-variable-qt-i18n-languages.html
588\ingroup cmake-variables-qtcore
589
590\title QT_I18N_TRANSLATED_LANGUAGES
591\target cmake-variable-QT_I18N_TRANSLATED_LANGUAGES
592
593\summary {List of languages to be used for project internationalization.}
594
595\cmakevariablesince 6.7
596
597Specifies a list of languages that are used for project
598internationalization. The single languages must be compatible with the
599string-based \l QLocale constructor.
600
601The languages in \c QT_I18N_TRANSLATED_LANGUAGES are used to:
602\list
603 \li Set up executable targets for consuming \c{.qm} files.
604 \li Automatically construct \c{.ts} file names in
605 \l{qt6_add_translations}{qt_add_translations()}.
606\endlist
607
608This variable can be conveniently set with the
609\l {qt6_standard_project_setup}{qt_standard_project_setup()} command.
610
611By default, translatable strings are considered to be written in \c{en}.
612
613\sa {qt6_standard_project_setup}{qt_standard_project_setup()}
614\sa {qt6_add_translations}{qt_add_translations()}
615*/
616
617/*!
618\page cmake-variable-qt-i18n-native-language.html
619\ingroup cmake-variables-qtcore
620
621\title QT_I18N_SOURCE_LANGUAGE
622\target cmake-variable-QT_I18N_SOURCE_LANGUAGE
623
624\summary {Specifies the language of translatable strings.}
625
626\cmakevariablesince 6.7
627
628Specifies the language of translatable strings in the source code.
629The language must be compatible with the string-based \l QLocale constructor.
630
631Together with \c{QT_I18N_TRANSLATED_LANGUAGES}, this variable is used to determine the
632names of \c{.ts} files for \l{qt6_add_translations}{qt_add_translations()}.
633
634This variable can be conveniently set with the
635\l {qt6_standard_project_setup}{qt_standard_project_setup()} command.
636
637\sa {qt6_standard_project_setup}{qt_standard_project_setup()}
638\sa {qt6_add_translations}{qt_add_translations()}
639*/
640
641/*!
642\page cmake-variable-qt-ios-launch-screen.html
643\ingroup cmake-variables-qtcore
644
645\title QT_IOS_LAUNCH_SCREEN
646\target cmake-variable-QT_IOS_LAUNCH_SCREEN
647
648\summary {Path to iOS launch screen storyboard used by all targets.}
649
650\cmakevariablesince 6.4
651\preliminarycmakevariable
652\cmakevariableiosonly
653
654Specifies the path to an iOS launch screen storyboard file that will be used
655by all targets within a project.
656
657\sa {Launch Screens and Launch Images}
658*/