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