用户可借助该项目进行 QML 和 Qt Quick 应用开发,其包含 Qt Qml、Qt Quick 等核心模块及 Qt Labs 相关模块,为构建跨平台界面提供基础支持。【此简介由AI生成】
| 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 files 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 Change-Id: I5a83879a7fee1bba046b2c53d9727dc0cde05c25 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 2 years ago | |
Use _qt_internal_set_source_file_generated Migrate implementations that set GENERATED source property Also standardize the TARGET_DIRECTORY passing Fixes: QTBUG-125077 Pick-to: 6.9 6.10 Change-Id: I0651ad69ec127b615b599707e12ab3840dc1135c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> | 1 year ago | |
Force macOS 26 x86_64 tests to insignificant There's still some trouble. Reverses the significance that dependency update is bringing with e30c7c36467169e1bd406e7aecd1414332aa4874. So the end result is that the config stays "insignificant". Change-Id: I2a68824e2383ed041af2e9cc21ed72aced2baa9c Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> | 5 months ago | |
Remove year from Qt Copyright in REUSE.toml Change-Id: I37d9d62856ac120be97cc929d298ffb77ba4a3af Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 1 year ago | |
Move StyleKit example out of quickcontrols example directory Now that Stylekit is getting widget style support on top of the quick controls support, the quickcontrols folder is no longer the best fitted path to place the example. Move it out of quickcontrols in the parent directory into a dedicated stylekit dir and rename the existing example target to stylekitcontrols. This is a first step towards adding the Stylekit widget example. Change-Id: Iede8d2f8001e872292ef944c762aed688c0ee689 Reviewed-by: Topi Reinio <topi.reinio@qt.io> | 6 months ago | |
Add the skeleton for a D3D12 backend Proof of concept. The plan is to proceed slowly with supporting node types one by one, starting with QSGRectangleNode. Opaque rectangles work already, but only non-smooth for now. The renderer is incomplete (no clip/opacity) and is based on simplerenderer on scenegraph playground. Buffer handling is not necessarily optimal yet. Use QT_QUICK_BACKEND=d3d12 to request this backend. Set QT_D3D_DEBUG=1 to enable the D3D debug layer. The render loop handles everything, incl. swap chain setup, handling resizes, etc. This being D3D, there are no further enablers needed from the QtGui or platform plugin side. By default the first hardware adapter is picked. In the absence of that, WARP is tried. The list of adapters is printed at startup, use QT_D3D_ADAPTER_INDEX to force a given card in case there are multiple ones in the system. The goal is not to productize a fast and great renderer, but to pave the way to better future backends for D3D12 and similar graphics APIs. Compiling in the support into Qt Quick is bad since the dependency onto d3d12.dll is not necessarily acceptable, but it's good enough for now, this being a wip branch. Change-Id: Ifbe088e7507223328096b22eec2c73f77bb5680e Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com> | 10 years ago | |
QQuickStyledText: avoid unnecessary QString allocations In parseImageAttributes(), use QStringView::toInt() directly instead of converting to QString first. QStringView already provides toInt(), so the intermediate toString() allocation is unnecessary. Change-Id: I95e0a32a462c016c6acc732a0b282978afe16690 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> | 5 months ago | |
qmlformat: Allow ids to start with an underscore in DOM The docs state an id must start with a lower case letter or an underscore. This only became an issue after 5a6557620f097fc0cd7af0209aa087d3db0811b1 checked the isValid flag and raised an error to avoid formatting broken files. Fixes: QTBUG-146920 Pick-to: 6.11 6.8 Change-Id: I1e26d93978c45050e8f9e25e2dc7b1fedd762ec8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> | 5 months ago | |
tools: not build those tools on HarmonyOS just like Android and others. Change-Id: I9dc5b27f56fbc25c694eb3e2ec1b787480ab13db Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> | 5 months ago | |
wasm: a11y - add selenium qml test Copy the selenium framework from qtbase. We check: initial setup, focus handling, checkbox behavior, radiobutton behavior, button behavior, text behavior. Fixes: QTBUG-135060 Change-Id: I737c35812f05406d5f3257d44ccd3054faebac93 Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> | 1 year ago | |
Disable single-arg qHash() functions in qtdeclarative This is a step in the direction of enabling strict mode 6.11 in this module. Task-number: QTBUG-145828 Pick-to: 6.11 Change-Id: I76a24d0e8ced12eabcdefaf6a58d3b4a284d8d35 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> | 6 months ago | |
qmlformat: improve testing of file based options Add an option to run qmlformat from the original file to a copy, thus picking up automatically settings related to those options. This does not in place replacing, but does not need any special setup to run the test. Ensure that git preserves the old macos line endings (CR) in the reference file by renaming it to *_mac_cr.* and change .gitattributes accordingly. Change-Id: Ibd9685613fc737146d67abcae19c67300343aa88 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> | 4 years ago | |
CMake/Android: enable Gradle for building Qt JARs Add Gradle project structure for JAR builds which allows CMake to run a Gradle build and also enables such code to be managed from IDEs easily. The default Android platform Jar include won't be needed because it's handled by Gradle, and the main QtAndroid.jar include is added automatically by qt_internal_add_jar(). This also update gitignore with Gradle, JDTLS and IntelliJ ignores. Task-number: QTBUG-132915 Change-Id: I86178c27db589c0da007abbf4ef98a0d81c6aa27 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 6 months ago | |
Update to the latest version of the ecmascript test suite Update test262.py to work with an up to date version of the Ecmascript test suite and update the suite to current master. test262 does also contain tests for experimental features that are not yet part of the standard. As we don't want to test those, test262.py contains a hardcoded list of those features. As this brings in all the ES6/7/8 tests in the test suite, it requires us to add a large list of failing tests to TestExpectations. But like this we can more easily track work towards better ES6 compatibility and make sure we don't introduce regressions. Currently, we pass around 60% of the test suite. Task-number: QTBUG-66950 Change-Id: I6ea75702e6f89e901e4752b73219d2f48ed53c10 Reviewed-by: Lars Knoll <lars.knoll@qt.io> | 8 years 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. As the file format doesn't seem to be designed with comments in mind, add it to the other version control system exemptions in REUSE.toml. Task-number: QTBUG-132604 Pick-to: 6.9 6.8 Change-Id: I36febf708f6726943662517eed89bdb33059aeb0 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> | 1 year ago | |
Use tree hash rather than commit hash in .tag file We want equal source packages to have the same .tag file, even if their commit hashes differ. Pick-to: 5.15 6.2 6.3 Fixes: QTBUG-99608 Change-Id: Ide5047acec78fdd91617577b3c2125feb0b2bdf4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> | 4 years ago | |
Remove qml-i18n example in qtdeclarative repo The qml-i18n example and the qtdeclarative repo itself depend on the LinguistTools CMake package, which is not available while building qtdeclarative. This results in: - missing build coverage for the example - a cyclic dependency, because qtdeclarative depends on qttools (because of LinguistTools), and qttools depends on qtdeclarative (because of qdoc needs) - we try to find a module that will never be available, unless qtdeclarative is built together with qttools in a top-level build - in certain cases, if the top-level build fails early enough, the cyclic dependency causes reconfigurations to fail Remove the example, the lookup of LinguistTools, and the linguist doc references to avoid all these issues. Replace the qt_add_translations reference in the docs of the QQmlApplicationEngine class with a snippet copy. Pick-to: 6.8 6.10 Task-number: QTBUG-141465 Change-Id: Id88603a3753f53dfac9f350e981073effda15eb1 Reviewed-by: Masoud Jami <masoud.jami@qt.io> | 1 year ago | |
Add CONTRIBUTING.md file Point potential contributors to contribute.qt-project.org. Change-Id: I959716081dd1f6f3749a5b99b3e4aaa8bbaf0b4c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> | 7 months ago | |
Unify naming of Qt Qml Where we mean the Qt Qml module, the "Qml" is to be written in regular upper case, not all caps. Also, the Qt Qml XmlListModel has a "Qml" in its name. This makes it easier to understand the documentation tree. Fixes: QTBUG-35866 Change-Id: I148727d7abb12077bc25d992853727bbc165b27d Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> | 9 months ago | |
StyleKit: Introduce the widget QStyleKitStyle Introduce QStyleKitStyle which is a widget style based on the QML StyleKit API. The widget style internally uses a QML engine to load a style file written in QML using the StyleKit API and use it to style widgets. This is done by quering style properties through QQStyleKitReader, which is the interface between controls/widgets and the StyleKit style. Task-number: QTBUG-130067 Change-Id: Icc7b552859252773d09d629727471586b4b99c4e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> | 6 months ago | |
Change the license of all CMakeLists.txt and *.cmake files to BSD Task-number: QTBUG-105718 Change-Id: Id89ed14990804a5024183e75382cc539d4293da1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> | 4 years ago | |
Update dependencies on 'dev' in qt/qtdeclarative Change-Id: I5823456b3a0b2afacde4fb31dafe00a693d87c2f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org> | 5 months ago | |
CMake/Android: enable Gradle for building Qt JARs Add Gradle project structure for JAR builds which allows CMake to run a Gradle build and also enables such code to be managed from IDEs easily. The default Android platform Jar include won't be needed because it's handled by Gradle, and the main QtAndroid.jar include is added automatically by qt_internal_add_jar(). This also update gitignore with Gradle, JDTLS and IntelliJ ignores. Task-number: QTBUG-132915 Change-Id: I86178c27db589c0da007abbf4ef98a0d81c6aa27 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 6 months ago | |
configure: Add missing qt_cmdline.cmake chain entries Add the missing qt_commandline_subconfig(src/quickshapes) entry so that src/quickshapes/configure.cmake is reachable via the qt_cmdline.cmake traversal chain. Pick-to: 6.11 Change-Id: I53f8df302c84cdf0ac13ca1eb770bf94446ad7b7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> | 8 months ago | |
Add doxyfile for building doxygen documentation This builds more complete documentation than qdoc, including internal classes, and a full set of UML class diagrams and collaboration diagrams. Change-Id: Ibfbcdd8605e334857644d4de29169c5d49a20b2c Reviewed-by: Martin Smith <martin.smith@qt.io> | 8 years ago |
qtdeclarative
The qtdeclarative repository is home to QML, Qt Quick and several related modules:
- Qt Qml
- Qt Qml Core
- Qt Qml Models
- Qt Qml WorkerScript
- Qt Qml XmlListModel
- Qt Quick
- Qt Quick Controls 2
- Qt Quick Layouts
- Qt Quick Local Storage
- Qt Quick Particles
- Qt Quick Shapes
- Qt Quick Templates
- Qt Quick Test
In addition, there are several Qt Labs modules:
Introduction
用户可借助该项目进行 QML 和 Qt Quick 应用开发,其包含 Qt Qml、Qt Quick 等核心模块及 Qt Labs 相关模块,为构建跨平台界面提供基础支持。【此简介由AI生成】
Customize your domain