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 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 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 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 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 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\cmakevariableandroidonly
137
138When set to \c Release, the \c --release flag is passed to the \c
139androiddeployqt tool, regardless of the application build type. When set to
140another value, the \c --release flag is never passed to the tool, which
141effectively disables release package signing even in Release or RelWithDebInfo
142builds. When not set, the default behavior is to use release package signing in
143build types other than Debug.
144
145This variable is not supposed to be set in CMake project files. Rather set it
146when configuring your project on the command line or in the CMake settings of
147your IDE.
148
149\sa {androiddeployqt}
150*/
151
152/*!
153\page cmake_variable-qt-android-multi-abi-forward-vars
154\ingroup cmake-variables-qtcore
155\ingroup cmake-android-build-properties
156
157\title QT_ANDROID_MULTI_ABI_FORWARD_VARS
158\target cmake-variable-QT_ANDROID_MULTI_ABI_FORWARD_VARS
159
160\summary {Allows to share CMake variables in multi-ABI builds.}
161
162\cmakevariablesince 6.4.2
163\preliminarycmakevariable
164\cmakevariableandroidonly
165
166Allows specifying the list of
167CMake variables that need to be forwarded from the main ABI project to
168ABI-specific subprojects. Due to the specifics of the Multi-ABI project build
169process, there is no generic way to forward the CMake cache variables
170that are specified either in the command line or in another similar way.
171
172A typical use case for the variable is propagating CMake cache variables
173specified in the command line. For example, a project has two variables
174\c{PROJECT_WIDE_VARIABLE1} and \c{PROJECT_WIDE_VARIABLE2} that affect the
175project configuration:
176\badcode
177cmake_minimum_required(VERSION 3.18)
178
179project(MyProject LANGUAGES CXX)
180
181find_package(Qt6 REQUIRED COMPONENTS Core)
182
183qt_add_executable(MyApp main.cpp)
184
185if(PROJECT_WIDE_VARIABLE1)
186 target_sources(MyApp PRIVATE sourcefile1.cpp)
187endif()
188if(PROJECT_WIDE_VARIABLE2)
189 target_sources(MyApp PRIVATE sourcefile2.cpp)
190endif()
191\endcode
192
193The above contents of \c{CMakeLists.txt} enable you to control how
194\c{MyApp} is built by setting the corresponding CMake variables from the
195command line:
196\badcode
197qt-cmake -S<source directory> -B<build directory> \
198 -DPROJECT_WIDE_VARIABLE1=ON \
199 -DPROJECT_WIDE_VARIABLE2=ON \
200 -DQT_ANDROID_MULTI_ABI_FORWARD_VARS="PROJECT_WIDE_VARIABLE1;PROJECT_WIDE_VARIABLE2"
201\endcode
202
203When configuring the application for desktop, \c{PROJECT_WIDE_VARIABLE1} and
204\c{PROJECT_WIDE_VARIABLE2} are visible in CMake listings and scripts as global
205cache variables. This doesn't work for Android Multi-ABI builds because
206ABI-specific subprojects do not inherit the cache variables from the main-ABI
207project. This issue can be solved by passing the list of required variables to
208the \c{QT_ANDROID_MULTI_ABI_FORWARD_VARS} variable, so both
209\c{PROJECT_WIDE_VARIABLE1} and \c{PROJECT_WIDE_VARIABLE2} values will be
210propagated to the ABI-specific builds.
211
212The variable can be also defined in the project's CMakeLists.txt:
213\badcode
214...
215qt_add_executable(MyApp main.cpp)
216...
217if(ANDROID)
218 set(QT_ANDROID_MULTI_ABI_FORWARD_VARS "PROJECT_WIDE_VARIABLE1;PROJECT_WIDE_VARIABLE2")
219endif()
220...
221\endcode
222
223Set the variable in this way to have a predefined set of
224variables that will always be forwarded to ABI-specific projects.
225
226\note The forwarding is done in the target finalizer, which is implicitly
227called when \l qt_add_executable() is used. The
228finalization occurs automatically when using CMake 3.19 or later.
229
230\sa qt_finalize_target(), qt_add_executable()
231*/
232
233/*!
234\page cmake-variable-qt-android-build-all-abis.html
235\ingroup cmake-variables-qtcore
236\ingroup cmake-android-build-properties
237
238\title QT_ANDROID_BUILD_ALL_ABIS
239\target cmake-variable-QT_ANDROID_BUILD_ALL_ABIS
240
241\summary {Enables building multi-ABI packages using the autodetected \Q4A SDK list.}
242
243\cmakevariablesince 6.3
244\preliminarycmakevariable
245\cmakevariableandroidonly
246
247Automatically detects available ABIs of \Q4A and uses them to
248build a package. The automatic detection expects the default directory structure
249supplied by the Qt installer, with the corresponding naming of the directories.
250\include cmake-android-supported-abis.qdocinc
251The typical directory structure looks as below:
252\badcode
253/path/to/Qt/6.x.x
254 android_armv7
255 android_arm64_v8a
256 android_x86
257 android_x86_64
258 ...
259\endcode
260The auto-detected paths can be customized using one of \c{QT_PATH_ANDROID_ABI_<ABI>} variables.
261
262The variable is set to \c FALSE by default.
263
264\note The multi-ABI project build process does not offer a generic way to
265forward the CMake cache variables that are specified either in the command line
266or in another similar way. Use QT_ANDROID_MULTI_ABI_FORWARD_VARS to specify the
267list of CMake variables to forward from the main ABI project to ABI-specific
268subprojects.
269
270\sa{QT_PATH_ANDROID_ABI_<ABI>},{QT_ANDROID_MULTI_ABI_FORWARD_VARS}
271*/
272
273/*!
274\page cmake-variable-qt-android-abis.html
275\ingroup cmake-variables-qtcore
276\ingroup cmake-android-build-properties
277
278\title QT_ANDROID_ABIS
279\target cmake-variable-QT_ANDROID_ABIS
280
281\summary {List of ABIs that the project packages are built for.}
282
283\cmakevariablesince 6.3
284\preliminarycmakevariable
285\cmakevariableandroidonly
286
287Specifies a list of ABIs to be used to build the project packages.
288\include cmake-android-supported-abis.qdocinc
289Each ABI should have the corresponding \Q4A either installed or
290user-built. To specify the path to the \Q4A ABI, use
291the corresponding \c{QT_PATH_ANDROID_ABI_<ABI>} variable.
292
293\note \c{QT_ANDROID_BUILD_ALL_ABIS} has the higher priority and ignores the
294QT_ANDROID_ABIS logic.
295
296\sa{QT_PATH_ANDROID_ABI_<ABI>}, {QT_ANDROID_BUILD_ALL_ABIS}
297*/
298
299/*!
300\page cmake-variable-qt-path-android-abi.html
301\ingroup cmake-variables-qtcore
302
303\title QT_PATH_ANDROID_ABI_<ABI>
304\target cmake-variable-QT_PATH_ANDROID_ABI_<ABI>
305
306\summary {Set of variables to specify the path to \Q4A for the corresponding ABI.}
307
308\cmakevariablesince 6.3
309\preliminarycmakevariable
310\cmakevariableandroidonly
311
312Each variable can be used to specify the path to \Q4A for the corresponding ABI.
313\include cmake-android-supported-abis.qdocinc
314
315\sa{cmake-variable-QT_ANDROID_ABIS}{QT_ANDROID_ABIS}
316*/
317
318/*!
319\page cmake-variable-qt-android-sign-aab.html
320\ingroup cmake-variables-qtcore
321\ingroup cmake-android-build-properties
322
323\title QT_ANDROID_SIGN_AAB
324\target cmake-variable-QT_ANDROID_SIGN_AAB
325
326\summary {Signs the .aab package with the specified keystore, alias, and store password.}
327\cmakevariablesince 6.4
328\preliminarycmakevariable
329\cmakevariableandroidonly
330
331Signs the resulting package. The path of the keystore file, the alias of the key, and passwords
332have to be specified by additional environment variables:
333\badcode
334 QT_ANDROID_KEYSTORE_PATH
335 QT_ANDROID_KEYSTORE_ALIAS
336 QT_ANDROID_KEYSTORE_STORE_PASS
337 QT_ANDROID_KEYSTORE_KEY_PASS
338\endcode
339The mentioned variables are used internally by \l{androiddeployqt}.
340
341\sa{androiddeployqt}
342*/
343
344/*!
345\page cmake-variable-qt-android-sign-apk.html
346\ingroup cmake-variables-qtcore
347\ingroup cmake-android-build-properties
348
349\title QT_ANDROID_SIGN_APK
350\target cmake-variable-QT_ANDROID_SIGN_APK
351
352\summary {Signs the package with the specified keystore, alias, and store password.}
353\cmakevariablesince 6.4
354\preliminarycmakevariable
355\cmakevariableandroidonly
356
357Signs the resulting package. The path of the keystore file, the alias of the key, and passwords
358have to be specified by additional environment variables:
359\badcode
360 QT_ANDROID_KEYSTORE_PATH
361 QT_ANDROID_KEYSTORE_ALIAS
362 QT_ANDROID_KEYSTORE_STORE_PASS
363 QT_ANDROID_KEYSTORE_KEY_PASS
364\endcode
365The mentioned variables are used internally by \l{androiddeployqt}.
366
367\sa{androiddeployqt}
368*/
369
370/*!
371\page cmake-variable-qt-android-generate-java-qml-components.html
372\ingroup cmake-variables-qtcore
373\ingroup cmake-android-build-properties
374
375\title QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS
376\target cmake-variable-QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS
377
378\summary {Enables the generation of QtQuickViewContent-based classes.}
379\cmakevariablesince 6.8
380\preliminarycmakevariable
381\cmakevariableandroidonly
382
383Set to \c TRUE to enable Java code generation for QML components of the target application. The
384generated code will be included in the resulting package. The Java package name of generated
385classes will be the same as the Android app package. If the leaf part of the package name is
386not the same as the target executable, an extra static class with the same name as the
387capitalized target executable will surround all QML modules enclosing Java classes. Each QML
388module class, again in a capitalized form, will contain \l{QtQuickViewContent} extension classes
389that represent QML components of that module.
390
391\badcode
392set(QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS TRUE)
393set_source_files_properties(MyView.qml PROPERTIES QT_QML_GENERATE_ANDROID_JAVA_CLASS TRUE)
394qt_add_qml_module(myapp URI MyModule QML_FILES MyView.qml)
395\endcode
396
397\sa {QT_QML_GENERATE_ANDROID_JAVA_CLASS}, {androiddeployqt}
398*/
399/*!
400\page cmake-variable-qt-use-target-android-build-dir.html
401\ingroup cmake-variables-qtcore
402
403\title QT_USE_TARGET_ANDROID_BUILD_DIR
404\target cmake-variable-QT_USE_TARGET_ANDROID_BUILD_DIR
405
406\summary {Enables the use of per-target Android build directories.}
407
408\cmakevariablesince 6.7
409\preliminarycmakevariable
410\cmakevariableandroidonly
411
412The variable appends the target-specific suffix to the android-build directory.
413The variable only takes an effect when it's set in \c CACHE. The variable is
414only supported by Qt Creator starting from version 13.
415If a single \c CMakeLists.txt contains more than one Android executable and
416this option is not set, you will see a warning. To disable the warning, set
417\c QT_SKIP_ANDROID_BUILD_DIR_CHECK to \c TRUE.
418*/
419
420/*!
421\page cmake-variable-qt-no-collect-build-tree-apk-deps.html
422\ingroup cmake-variables-qtcore
423
424\title QT_NO_COLLECT_BUILD_TREE_APK_DEPS
425\target cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS
426
427\summary {Prevents collecting of project-built shared library targets during Android deployment.}
428
429\cmakevariablesince 6.3
430\preliminarycmakevariable
431\cmakevariableandroidonly
432
433During project finalization, the build system collects the locations of
434all built shared library targets in the project.
435These locations are passed to \l androiddeployqt for deployment consideration when
436resolving dependencies between libraries.
437To disable this behavior, set this variable to \c TRUE.
438
439\sa qt_finalize_project()
440\sa {cmake-variable-QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS}{QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS}
441*/
442
443/*!
444\page cmake-variable-qt-no-collect-imported-target-apk-deps.html
445\ingroup cmake-variables-qtcore
446
447\title QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS
448\target cmake-variable-QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS
449
450\summary {Prevents collecting of imported targets during Android deployment.}
451
452\cmakevariablesince 6.5
453\preliminarycmakevariable
454\cmakevariableandroidonly
455
456When using CMake version 3.21 or later, the build system collects the locations of
457imported shared library targets that might be relevant for deployment.
458The collected targets are those that are reachable from the directory scope
459of the currently processed executable target. That includes the target's source directory
460scope and its parents.
461The collected locations are passed to \l androiddeployqt for deployment consideration when
462resolving dependencies between libraries.
463To disable this behavior, set this variable to \c TRUE.
464
465\sa qt_finalize_project()
466\sa {cmake-variable-QT_NO_COLLECT_BUILD_TREE_APK_DEPS}{QT_NO_COLLECT_BUILD_TREE_APK_DEPS}
467*/
468
469/*!
470\page cmake-variable-qt-harmonyos-hvigor.html
471\ingroup cmake-variables-qtcore
472\ingroup cmake-harmonyos-build-variables
473
474\title QT_HARMONYOS_HVIGOR
475\target cmake-variable-QT_HARMONYOS_HVIGOR
476
477\summary {Path to the hvigor wrapper used to build HAP packages.}
478
479\cmakevariablesince 6.12
480\preliminarycmakevariable
481\cmakevariableharmonyosonly
482
483Specifies the path to the \c hvigor wrapper script (\c hvigorw) that is invoked
484to build HAP packages.
485
486The
487\l{cmake-target-property-QT_HARMONYOS_HVIGOR}{QT_HARMONYOS_HVIGOR target
488property} takes precedence over this variable. If neither is set, the
489\c QT_HARMONYOS_HVIGOR environment variable is consulted when the HAP is built.
490As a last resort, the \c hvigorw script that is part of the generated package
491is used.
492
493\sa{cmake-target-property-QT_HARMONYOS_HVIGOR}{QT_HARMONYOS_HVIGOR}
494*/
495
496/*!
497\page cmake-variable-qt-host-path.html
498\ingroup cmake-variables-qtcore
499
500\title QT_HOST_PATH
501\target cmake-variable-QT_HOST_PATH
502
503\summary {Location of the host Qt installation when cross-compiling.}
504
505\cmakevariablesince 6.0
506
507When cross-compiling, this variable must be set to the install location of Qt for the host
508platform. It is used to locate tools to be run on the host (\l{moc}, \l{rcc},
509\l{androiddeployqt}, and so on). It's possible to reuse pre-installed tools
510when compiling Qt for host systems too, by using \c QT_HOST_PATH that points to
511a pre-installed host Qt and setting the \c QT_FORCE_FIND_TOOLS to \c ON. The Qt
512versions should match in this case.
513*/
514
515/*!
516\page cmake-variable-qt-no-set-xcode-development-team-id.html
517\ingroup cmake-variables-qtcore
518
519\title QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID
520\target cmake-variable-QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID
521
522\summary {Disables providing a fallback team ID during target finalization on iOS.}
523
524\cmakevariablesince 6.1
525
526When finalizing an executable target on iOS,
527\l qt_finalize_target() will populate the target's
528\c XCODE_ATTRIBUTE_DEVELOPMENT_TEAM property if it hasn't been set.
529To prevent this, set \c QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID to \c TRUE.
530*/
531
532/*!
533\page cmake-variable-qt-no-set-xcode-bundle-identifier.html
534\ingroup cmake-variables-qtcore
535
536\title QT_NO_SET_XCODE_BUNDLE_IDENTIFIER
537\target cmake-variable-QT_NO_SET_XCODE_BUNDLE_IDENTIFIER
538
539\summary {Disables providing a fallback app bundle ID during target finalization on iOS.}
540
541\cmakevariablesince 6.1
542
543When finalizing an executable target on iOS,
544\l qt_finalize_target() will populate the target's
545\c XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER and
546\c MACOSX_BUNDLE_GUI_IDENTIFIER properties if they haven't been set.
547To prevent this, set \c QT_NO_SET_XCODE_BUNDLE_IDENTIFIER to \c TRUE.
548*/
549
550/*!
551\page cmake-variable-qt-enable-verbose-deployment.html
552\ingroup cmake-variables-qtcore
553
554\title QT_ENABLE_VERBOSE_DEPLOYMENT
555\target cmake-variable-QT_ENABLE_VERBOSE_DEPLOYMENT
556
557\summary {Enables verbose mode of deployment tools.}
558
559\cmakevariablesince 6.3
560
561Enables verbose mode of the \l androiddeployqt deployment tool when it is called
562internally at build time, usually during target finalization.
563
564This variable also changes the default verbosity of install-time deployment
565scripts for other platforms (see \l qt_deploy_runtime_dependencies()), but it
566must be set before the first \c{find_package(Qt6)} call to have that effect.
567*/
568
569/*!
570\page cmake-variable-qt-deploy-support.html
571\ingroup cmake-variables-qtcore
572
573\title QT_DEPLOY_SUPPORT
574\target cmake-variable-QT_DEPLOY_SUPPORT
575
576\summary {Name of the file to include for setting up deployment support.}
577
578\cmakevariablesince 6.3
579\note The value of this variable should never be modified by project code.
580
581This configure-phase variable is set by the Core package. It is intended to be
582used as the first line of any deployment script to ensure access to the
583deployment APIs provided by Qt. Such deployment scripts do not run during
584CMake's configure phase. They are executed during installation or as
585part of a post-build rule.
586
587The following example shows one way the variable would be used when installing
588an application, along with its runtime dependencies:
589
590\include cmake-deploy-modified-variable-values.qdocinc
591
592\sa qt_deploy_runtime_dependencies(), qt_deploy_qml_imports()
593*/
594
595/*!
596\page cmake-variable-qt-no-standard-project-setup.html
597\ingroup cmake-variables-qtcore
598
599\title QT_NO_STANDARD_PROJECT_SETUP
600\target cmake-variable-QT_NO_STANDARD_PROJECT_SETUP
601
602\summary {Prevents subsequent calls to qt_standard_project_setup() from making any changes.}
603
604\cmakevariablesince 6.3
605
606The \l qt_standard_project_setup() command is
607typically called in the top level \c{CMakeLists.txt} file of a project. In some
608scenarios, such a project may be absorbed as a child project of a larger project
609hierarchy. A parent project may want to prevent any child project from applying
610changes to the setup. The parent project can achieve this by setting
611\c{QT_NO_STANDARD_PROJECT_SETUP} to \c TRUE before bringing in the child project
612via \l{add_subdirectory()}, \l{FetchContent_MakeAvailable()}, or other similar
613methods provided by CMake.
614
615\sa qt_standard_project_setup()
616*/
617
618/*!
619\page cmake-variable-qt-i18n-languages.html
620\ingroup cmake-variables-qtcore
621
622\title QT_I18N_TRANSLATED_LANGUAGES
623\target cmake-variable-QT_I18N_TRANSLATED_LANGUAGES
624
625\summary {List of languages to be used for project internationalization.}
626
627\cmakevariablesince 6.7
628
629Specifies a list of languages that are used for project
630internationalization. The single languages must be compatible with the
631string-based \l QLocale constructor.
632
633The languages in \c QT_I18N_TRANSLATED_LANGUAGES are used to:
634\list
635 \li Set up executable targets for consuming \c{.qm} files.
636 \li Automatically construct \c{.ts} file names in
637 \l qt_add_translations().
638\endlist
639
640This variable can be conveniently set with the
641\l qt_standard_project_setup() command.
642
643By default, translatable strings are considered to be written in \c{en}.
644
645\sa qt_standard_project_setup()
646\sa qt_add_translations()
647*/
648
649/*!
650\page cmake-variable-qt-i18n-native-language.html
651\ingroup cmake-variables-qtcore
652
653\title QT_I18N_SOURCE_LANGUAGE
654\target cmake-variable-QT_I18N_SOURCE_LANGUAGE
655
656\summary {Specifies the language of translatable strings.}
657
658\cmakevariablesince 6.7
659
660Specifies the language of translatable strings in the source code.
661The language must be compatible with the string-based \l QLocale constructor.
662
663Together with \c{QT_I18N_TRANSLATED_LANGUAGES}, this variable is used to determine the
664names of \c{.ts} files for \l qt_add_translations().
665
666This variable can be conveniently set with the
667\l qt_standard_project_setup() command.
668
669\sa qt_standard_project_setup()
670\sa qt_add_translations()
671*/
672
673/*!
674\page cmake-variable-qt-ios-launch-screen.html
675\ingroup cmake-variables-qtcore
676
677\title QT_IOS_LAUNCH_SCREEN
678\target cmake-variable-QT_IOS_LAUNCH_SCREEN
679
680\summary {Path to iOS launch screen storyboard used by all targets.}
681
682\cmakevariablesince 6.4
683\preliminarycmakevariable
684\cmakevariableiosonly
685
686Specifies the path to an iOS launch screen storyboard file that will be used
687by all targets within a project.
688
689\sa {Launch Screens and Launch Images}
690*/