summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Doc: fix more links to cmake functionsVolker Hilsheimer2023-03-101-1/+1
| | | | | | | | | Use qt6_ consistently as the link target, and qt_ when referring to the function. Pick-to: 6.5 6.5.0 Change-Id: I9bb903cd2c32dcded1ee7a2804aa36074e8a5c38 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Doc: Fix keyword for CMake commands related to deploymentJoerg Bornemann2023-03-081-1/+1
| | | | | | | | | The pages are supposed to use the \keyword command to provide a target for the versioned command name. Pick-to: 6.5 6.5.0 Change-Id: Ic91f5becc80985622a691aba96ce2c4e2984078e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Slow Deprecation of FILENAME_VARIABLE, replacement by OUTPUT_SCRIPTAmir Masoud Abdol2023-01-051-1/+1
| | | | | | | | | | | | | As discussed in the latest CMake API Review, we are deprecating the FILENAME_VARIABLE variable name everywhere, and replacing it with OUTPUT_SCRIPT. [ChangeLog][CMake] The FILENAME_VARIABLE option of qt_generate_deploy_script and qt_generate_deploy_app_script is now deprecated, use OUTPUT_SCRIPT option instead. Change-Id: Ic8be33eefbc48540166ea0fcf1d1948b052d4b8a Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Un-TP most of the deployment APIAlexandru Croitor2022-12-081-1/+0
| | | | | | | | | | | | | | | They are deemed good enough. qt_deploy_translations is left in TP because with the current signature, it's not clear yet how it's supposed to work for iOS and other non-desktop targets. [ChangeLog][CMake] The Core CMake deployment API is out of Technical Preview status. Task-number: QTBUG-108507 Change-Id: I384233c697b33644de3c9e1fb17d04f44ca16ea2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Doc: Normalize page namesKai Köhne2022-11-021-1/+1
| | | | | | | | | | | | | | | qdoc does enforce lowercase file names for .html pages, and also replaces underscore with a dash. Make sure that the original \page name already is normalized, so that it's easier to search. This was done by find . -name "*.qdoc" -exec perl -p -i -E "s/\\\page (.*)/\\\page \L\1/ && s/_/-/g" {} ; Pick-to: 6.4 Change-Id: Ib50b85af8ffd985edf06856266eefdebf8b328a3 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Luca Di Sera <luca.disera@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* CMake: Introduce qt_generate_deploy_scriptJoerg Bornemann2022-09-111-4/+3
| | | | | | | | | | | | | | | | | | Should the deployment script that qt_generate_deploy_app_script not be sufficient, the new function qt_generate_deploy_script can be used to generate a custom deployment script. Before, one had to add quite some boilerplate code to generate a custom deployment script. The qt_generate_deploy_app_script function now uses qt_generate_deploy_script internally. The TARGET option of qt_generate_deploy_script is currently only used for controlling the base name of the generated deployment script. We will do more with the target in a subsequent commit. Fixes: QTBUG-105731 Change-Id: I85bfc50dac1f0b0b1aae0f657f803e9e30f53616 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use SPDX license identifiersLucie Gérard2022-05-161-26/+2
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Clean up qt_deploy_qt_conf for 6.3Alexandru Croitor2022-02-211-5/+13
| | | | | | | | | | | | | | | Ensure both versioned and versionless functions are available. Document that the first argument should be an absolute path and check that in the code. Move the low-level warning to the top, after the TP message. Use a few more options in the doc snippet. Mention what the default values are. Pick-to: 6.3 Fixes: QTBUG-100922 Change-Id: I0d852733e51750f4c8f15721b707cb1d27dfee9a Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Fix cmake example snippetsKai Köhne2022-02-161-1/+1
| | | | | | | | The argument to file(GENERATE...) is called CONTENT, not CONTENTS. Pick-to: 6.3 Change-Id: I22fb9eb966223e034b2606cf24315d3cf6a03df1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix incorrect link to 'Using qt.conf page'Alexandru Croitor2022-02-101-1/+1
| | | | | | Pick-to: 6.3 Change-Id: I469fc4adb8982e2bd3d38807950eb0c324c481a6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Doc: State Qt versions for when CMake commands etc. were introducedJoerg Bornemann2022-02-011-0/+1
| | | | | | | | | | | | | | | | | | | Introduce the qdoc macros \cmakecommandsince, \cmakepropertysince, and \cmakevariablesince that insert a paragraph akin to the \since context command. Example: \cmakecommandsince 6.3 produces the paragraph This command was introduced in Qt 6.3 The macro text is wrapped in \n\n to ensure that we always generate a new paragraph. Pick-to: 6.2 6.3 Task-number: QTBUG-100212 Change-Id: Id5c8e8812e6b0b915674d108a0e775091e9eacd8 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Mark the new deployment API as being in Technical PreviewAlexandru Croitor2021-12-091-0/+2
| | | | | | | | Amends 22c92f39670d0376478cc2e73a17307508f86692 Task-number: QTBUG-98545 Change-Id: Ifaa7e4884f0eb1caa6d3d4906a2701f8fa5e43c2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add documentation for CMake deployment supportCraig Scott2021-12-081-0/+93
Task-number: QTBUG-98545 Change-Id: Ifd5c0f4ce278c683bb0d3ba6a259ec14a7f24181 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>