| Files | Last commit | Last update |
|---|---|---|
Add REUSE.toml files and missing licenses REUSE.toml files are read by reuse to complement or override the copyright and licensing information found in file. The use of REUSE.toml files was introduced in REUSE version 3.1.0a1. This reuse version is compatible with reuse specification version 3.2 [1]. With this commit's files, * The SPDX document generated by reuse spdx conforms to SPDX 2.3, * The reuse lint command reports that the Qt project is reuse compliant. In order to be reuse compliant all the licenses referenced in file or within a REUSE.toml file must be present in the LICENSES directory at the base of the module. The missing licenses are added. [1]: https://reuse.software/spec-3.2/ Task-number: QTBUG-124453 Task-number: QTBUG-125211 Pick-to: 6.8 Change-Id: Ic6b37c3228eca95e88194e11d86e88ddb674fac0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 2 years ago | |
CMake: Fix objcnamemangler build when zstd dependency is missing The objcnamemangler tool depends on the LLVM Support library, which can have a dependency on zstd::libzstd_shared. If the zstd CMake package is not found, the Support library target will still be created. This causes a cmake generation time error: CMake Error at /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMExports.cmake:64 (set_target_properties): The link interface of target "LLVMSupport" contains: zstd::libzstd_shared but the target was not found. Possible reasons include: Call Stack (most recent call first): /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:349 (include) Make sure to explicitly check if the zstd target is a dependency of the LLVM library and that it exists, before enabling the feature that builds the tool. In addition, to avoid errors like: CMake Error at /opt/homebrew/opt/zstd/lib/cmake/zstd/zstdTargets.cmake:42 (message): Some (but not all) targets in this export set were already defined. Targets Defined: zstd::libzstd_shared, zstd::libzstd_static Targets not yet defined: zstd::libzstd we need to disable the zstd package lookup within llvm's Findzstd.cmake regardless of the state of the QT_FEATURE_zstd feature value. This needs to be done around each new LLVM lookup. As a drive-by, make the package lookup happen only on MACOS where it is needed. Amends f0df12af992a8d7116e99ed85c62a9976c09d1a6 Amends b676278a24eb880eeeed35bbf203a76950a9ab4e Task-number: QTBUG-139199 Change-Id: I4f28e3cde8f04a318f731eb06997fa701c017a0a Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 6 months ago | |
Run Axivion analysis only for security critical files Task-number: QTQAINFRA-7720 Pick-to: 6.11 6.8 Change-Id: Iafc23d69185c8ccd1a6a6349c208570696bef569 Reviewed-by: Simo Fält <simo.falt@qt.io> | 6 months ago | |
Remove year from Qt Copyright in REUSE.toml Change-Id: If415e86c9f638d5a782102f492a0854ad9c51bc7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 1 year ago | |
Apple/macOS: Replace deprecated Q_OS_MAC with Q_OS_APPLE or Q_OS_MACOS Q_OS_MAC is a deprecated synonym for Q_OS_DARWIN (= Q_OS_APPLE), but predates Qt's support for iOS and the other Apple platforms. Each occurrence was reviewed and classified based on whether the guarded behavior also applies to iOS and other Darwin targets. Replaced with Q_OS_APPLE: - XDG theme icon guards: XDG theme icons are not used on any Apple platform, so the negation applies across the board Replaced with Q_OS_MACOS: - Assistant .app bundle path: the MacOS/ directory structure is specific to macOS application bundles - Window menu (Zoom/Minimize) in Assistant and Linguist: adding a macOS-style Window menu is an Aqua HIG convention Change-Id: Idb2466458be734aa23398db1756ef42a55747072 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> | 7 months ago | |
QDoc: Rename DOC-genus label to Overview The intermediate representation classifies every page with a genus that consumers display as a short label. C++ reference pages read as "C++", QML pages as "QML", and pages of plain documentation prose as "Documentation". That last label collides with its own meaning. Consumers that supply the word "documentation" themselves as surrounding context may end up producing tautologies by composeing the genus label with the literal suffix " documentation". The label is now "Overview". The genus identifier stays "doc" so external consumers keyed on the stable id are unaffected, but the human-readable label captures the actual character of these pages. Change-Id: I46ce2f1fd3d008e67e19144023bd5143db97f123 Reviewed-by: Topi Reinio <topi.reinio@qt.io> | 6 months ago | |
tst_lcheck: Fix project name Change-Id: I1f518cd756d0deb8e8eb977257004c7ccc7db03d Reviewed-by: Masoud Jami <masoud.jami@qt.io> | 6 months ago | |
recolordocsicons: Add the tool and a README Move the recolordocsicons.py script from qtcreator to qttools\util. Pick-to: 6.6 6.7 Change-Id: I64b0ef7204ebe6334527dcd800fa5530bbd0e325 Reviewed-by: Kai Köhne <kai.koehne@qt.io> | 2 years ago | |
Disable 1-to-2-arg qHash() adapter in qttools Pick-to: 6.11 Task-number: QTBUG-145851 Change-Id: I2126167dbbe61b9ed4319c4fd779b1a41cb00095 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> | 6 months ago | |
Update the git-archive export options The .gitattributes and .gitignore files do not need to be present in packaged sources, as they are for people using the Git repository. People who download tarballs usually don't reimport into Git -- they should just download the actual repositories. Meanwhile, the .tag file is quite useful. Instead of making Git extract to the useless SHA-1 of the $n string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: I4525d2264d9ef92d978dc5e4186313709f8ba67b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 13 years ago | |
Add compile_commands.json to gitignore file compile_commands.json is metadata export from cmake which can be useful for static analysis tools like clangd. One way to work with this file is to have a symbolic link file to the build directory from the source directory. Change-Id: I6ddb5128a7ac5c0ecd7f2e0ee24540f0f2025724 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> | 2 years ago | |
Revert "Use git protocol when cloning submodules" This reverts commit 50ca85abee5ff795d967f14d0e228901604b5b31. Reason for revert: Using git protocol is less safe than using https, and the reason for not depending on the https server has hopefully been dealt with. Change-Id: Ifab6376f5e5e1976db9fb56270c4d4f8ed3e730f Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> | 9 months ago | |
Add .gitreview file git-review is a command line tool for interacting with Gerrit. Some IDEs offer support for this tool, either natively or through plugins. The tool relies on a configuration file, .gitreview. Adding this configuration file to our repositories simplifies initial setup for contributors that use the tool directly or through their IDE of choice. The configuration file adds a remote called 'gerrit'. This is the default for the tool, and also the name set for codereview.qt-project.org by Qt's init-repository script. Thus, the configuration should work seamlessly alongside other repository helpers. Task-number: QTBUG-132604 Pick-to: 6.9 6.8 Change-Id: I1a1896ed0fd676101940dadcee5e1641440ec7c2 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> | 1 year ago | |
Update the git-archive export options The .gitattributes and .gitignore files do not need to be present in packaged sources, as they are for people using the Git repository. People who download tarballs usually don't reimport into Git -- they should just download the actual repositories. Meanwhile, the .tag file is quite useful. Instead of making Git extract to the useless SHA-1 of the $n string, ask git-archive to store the SHA-1 of the commit being packaged. Change-Id: I4525d2264d9ef92d978dc5e4186313709f8ba67b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 13 years ago | |
QtHelp: Add optional dependency to Qt::Concurrent Fixes: QTBUG-145230 Pick-to: 6.11 Change-Id: I428c11f1a738fb81dd3bf047478188b9d38f925b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> | 7 months ago | |
Add CONTRIBUTING.md file Point potential contributors to contribute.qt-project.org. Change-Id: Ia4028e5c5c4852a6ee8019a480b1ba9bede15154 Reviewed-by: Paul Wicking <paul.wicking@qt.io> | 6 months ago | |
QDoc: Cover annotated-examples in the catalog-pages fixture The annotated-examples catalog groups documented examples by their module index title and renders each group as a section heading followed by an annotated table. The fixture covers the annotated-classes and compact-classes shapes, but the example-bucketing path has no end-to-end coverage; a regression between example enumeration and table rendering would slip past the validation suite. The fixture grows two example projects, each documented through an example block that flows through a category macro the qdocconf defines, plus a catalog page that runs the annotated-examples shape and renders the grouped table. The fixture's examples have no module index title, so they bucket under an empty key, exercising the empty-label heading suppression the renderer recently adopted: the expected output shows table only, with no decorative empty heading. Task-number: QTBUG-146605 Change-Id: I768fd507ab5dc2e976bad62f5a8606250b2d5fa1 Reviewed-by: Topi Reinio <topi.reinio@qt.io> | 6 months ago | |
CMake: Fix objcnamemangler build when zstd dependency is missing The objcnamemangler tool depends on the LLVM Support library, which can have a dependency on zstd::libzstd_shared. If the zstd CMake package is not found, the Support library target will still be created. This causes a cmake generation time error: CMake Error at /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMExports.cmake:64 (set_target_properties): The link interface of target "LLVMSupport" contains: zstd::libzstd_shared but the target was not found. Possible reasons include: Call Stack (most recent call first): /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:349 (include) Make sure to explicitly check if the zstd target is a dependency of the LLVM library and that it exists, before enabling the feature that builds the tool. In addition, to avoid errors like: CMake Error at /opt/homebrew/opt/zstd/lib/cmake/zstd/zstdTargets.cmake:42 (message): Some (but not all) targets in this export set were already defined. Targets Defined: zstd::libzstd_shared, zstd::libzstd_static Targets not yet defined: zstd::libzstd we need to disable the zstd package lookup within llvm's Findzstd.cmake regardless of the state of the QT_FEATURE_zstd feature value. This needs to be done around each new LLVM lookup. As a drive-by, make the package lookup happen only on MACOS where it is needed. Amends f0df12af992a8d7116e99ed85c62a9976c09d1a6 Amends b676278a24eb880eeeed35bbf203a76950a9ab4e Task-number: QTBUG-139199 Change-Id: I4f28e3cde8f04a318f731eb06997fa701c017a0a Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 6 months ago | |
Update dependencies on 'dev' in qt/qttools Change-Id: Ic2f4fe979bde6d08f0476fd1d0817ecf059d210a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org> | 5 months ago | |
QDoc: Add multi-module test driver for cross-module fixtures QDoc has had two long-standing testing gaps for multi-module configurations. tst_validateTemplateGeneratorOutput discovers only single-module qdocconf fixtures and runs one qdoc invocation per fixture. Any test that needs an upstream module's .index-file to be present for a downstream module to resolve cross-module references cannot live there. tst_generatedOutput covers two such cases via hand-written member functions that arrange a bespoke build order, copy index files into place, and invoke testAndCompare with hard-coded -indexdir arguments. The pattern is brittle and resists extension: every new multi-module scenario requires another hand-written member function and a tightly-coupled fixture layout. tst_multiModuleConfigurations discovers fixtures by the presence of a build-order.txt file naming the qdocconfs in dependency order. For each fixture it runs one qdoc invocation per module, chaining -indexdir flags so that downstream qdocconfs using depends can locate the upstream .index files emitted by earlier invocations. The final module's output is diffed against the fixture's expected/ directory; for regen runs the final moduleemits directly into expected/ to keep the pattern symmetric with the existing single-module driver. Authoring a new multi-module fixture becomes a matter of dropping a directory under testdata/ and listing build steps, with no driver-side code changes. Task-number: QTBUG-146772 Change-Id: I0b02b6ce73f0626560e7ed71bfa6acdfbf758b59 Reviewed-by: Topi Reinio <topi.reinio@qt.io> | 6 months ago | |
CMake: Add empty qt_cmdline.cmake for top-level configure to work The existence of the file will trigger loading of the configure.cmake file, to ensure that the qttools features are known and recognized if they are passed on the command line. Change-Id: I17d82e3171932732a22f83ecf8422d87ef327d8d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 6 years ago |
Project README is empty