Skip to content

Calls order of q_invokable method #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10,000 commits into
base: 6.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
fb61c6b
qmllint: Warn about duplicate inline components
Apr 29, 2025
3b93c2e
Update dependencies on 'dev' in qt/qtdeclarative
May 8, 2025
1baaf9e
qquickpopup: Capture activeFocusItem before reparenting popup
jarkkokoivikko-code-q Apr 29, 2025
56a7264
qquickpopup: Clear stale last active focus
jarkkokoivikko-code-q Apr 30, 2025
fcc1f9c
qquickpopup: Guard finalizeExitTransition against overlay nullptr
jarkkokoivikko-code-q Apr 30, 2025
4db78fc
qquickpopup: Minimize overlay calls in finalizeExitTransition
jarkkokoivikko-code-q Apr 30, 2025
9d3a157
Windows 11: blacklist tst_qquickiconimage tests
Apr 28, 2025
f09eb29
tests: do not leak QPointingDevice instances
ec1oud Mar 27, 2025
722116b
Build qmltestrunner with target arch
Apr 29, 2025
72b558b
Menu: force contentItem ListView layout before starting enter transition
mitchcurtis May 6, 2025
bf5df49
Update dependencies on 'dev' in qt/qtdeclarative
May 12, 2025
fe2be5e
Add path trimming to quick vector graphics generators
aavit Mar 5, 2025
9e13782
QtQml: Do not store property indices in aliases
Apr 1, 2025
e96ad30
QQmlProperty: Fix read of value type lists
Inkane May 12, 2025
fe61081
Ignore 'test_plugins' cmake test results when needed plugins not built
May 9, 2025
f21ad47
Skip remoteImportWithQuoterUrl() test when qml_network disabled
May 9, 2025
18c421f
QtQml: Remove dependency hashing
Apr 17, 2025
f4dddb5
QSGThreadedRenderLoop: fix race on window pointer
dfaure-kdab May 12, 2025
5a2a6a8
qmlformat: customizable semicolon
Mar 24, 2025
bc7b143
qmlformat: document --semicolon-rule option
Apr 16, 2025
e29d000
qmlls: fix potential crash
May 5, 2025
86017b8
qmlformat: fix for statement with multiple iterators
Apr 25, 2025
16aa53d
Move `test_target_qml_sources_in_different_scope` to RunCMake
Jan 15, 2025
e31b6d9
Add subdirectory-only test-case for `qt_target_sources`
Mar 24, 2025
c7ad0cf
Move the qml copy files setup to the module definition
Mar 21, 2025
8c54efe
Remove lastDirtyWindow logic from basic render loop
alpqr May 13, 2025
714726d
sg: Correctly bail out when surface size is 0
alpqr May 13, 2025
1fbaffd
Pass on hasDefaultAlphaBuffer in the format with the software backend…
alpqr May 13, 2025
711b4d7
Doc: Remove mentioning of Qt Quick Calendar module
kkoehne May 9, 2025
0a848c1
Add API to VectorImage for controlling animations
eskilblomfeldt Apr 7, 2025
6b56480
Replace _qt_is_android_executable property with _qt_android_target_type
semlanik Mar 11, 2025
be034eb
ComboBox: fix crash when setting model
mitchcurtis May 13, 2025
52f95ea
tst_qquickmenu::contextMenuKeyboard: Fix flakiness
dorisverria1 May 13, 2025
93f7f3a
Map DragHandler delta to the scene
Minimonium Apr 27, 2025
72b4dff
QtQml: Eliminate QFiniteStack and QQmlParserStatus backlinks
May 5, 2025
b9a085b
Revert "QtQml: Remove dependency hashing"
May 14, 2025
08ac22a
QJSEngine: Allow strings as arguments to throwError()
May 14, 2025
dfa62fc
Android: QQ4A: Connect QCoreApplication to QQmlEngine::quit signal
Petrivirkkunen Jan 8, 2025
348d2ed
Add QML Test macro to allow QQ4A testing
Petrivirkkunen Jan 2, 2025
2028157
QtQuickView set/get property CI tests
Petrivirkkunen Jan 2, 2025
b203d85
qqmljsscope: make ConstPtrWrapperIterator an alias
samishalayel May 5, 2025
69a6ea8
qqmljslinter: introduce LinterImportVisitor visitor
samishalayel Apr 29, 2025
5e024a7
LinterImportVisitor: move linting code from QQmlJSImportVisitor
samishalayel Apr 29, 2025
a8f0758
linterimportvisitor: add helper for parent nodes
samishalayel Apr 25, 2025
138889e
Qml: Rename Expression to CommaExpression in the AST
May 9, 2025
76a29ee
qmllint: implement WarnComma
samishalayel Apr 25, 2025
1950f29
qmllint: implement WarnXConstructor
samishalayel Apr 25, 2025
6d86e94
qmllint: implement WarnVoid
samishalayel Apr 25, 2025
131cc99
qmllint: implement WarnConfusingPluses and Minuses
samishalayel Apr 25, 2025
0f993cb
qqmljsfunctioninitializer: initialize all argument types
samishalayel Apr 30, 2025
bcbd217
qmllint: Warn about duplicate imports
May 5, 2025
7c028a9
Support items that are visible for specific durations
eskilblomfeldt Apr 9, 2025
7f90737
VectorImage: Support transform references
aavit Apr 11, 2025
73ad231
QtQml: Document overriding of toString() in object types
May 16, 2025
1869c38
Update dependencies on 'dev' in qt/qtdeclarative
May 18, 2025
d42bb3f
QtQml: Reduce import and plugin paths for to plugin applications
ni-swastl Jan 31, 2025
61149d1
Android: Fix linter problems in QtQ4A examples
May 16, 2025
38b0fe2
Support replace animations
eskilblomfeldt Apr 24, 2025
b44e844
qmllint: Move enum warnings to linting visitor and add warning category
May 5, 2025
ae3754d
qmllint: Warn about enum entries matching the name of the enum itself
May 6, 2025
f7a6038
qmllint: Warn about enums declared in non-root elements
May 6, 2025
65804aa
qmllint: Warn about unterminated non-empty case blocks
May 15, 2025
a2258dc
Avoid redundant property Animation steps
aavit May 8, 2025
50d8d6c
Doc: Fix Linking issues
toreinio Mar 17, 2025
9e8bcca
Fix TableView::view attached property being null in certain situations
Sodivad May 19, 2025
91f22df
qmlformat: document .qmlformat.ini settings
May 16, 2025
c72296c
CMake: fix unity builds for qml plugins on windows
timblechmann May 17, 2025
9b6f70c
Improve builds for non-threaded qt
timblechmann May 16, 2025
0f08e99
QQmlListModel: Align variants of set() for array-likes
May 16, 2025
44f5ad3
qqmljsscope: rename ConstPtrWrapperIterator to ChildScopesIterator
samishalayel May 5, 2025
650b0e5
QtQml: Store metatype to QQmlType mapping for inline components
May 19, 2025
0cbe6e6
QtQml: Do not prematurely delete composite metatypes
May 12, 2025
c2e5359
QtQml: Remove object/binding/parser status counts from CUs
May 5, 2025
6864d9a
Android: fix comparison of different signed integers
qtrampe May 19, 2025
e0c4a35
QQmlSA: extend ScriptBindingValueType for function bindings
samishalayel Mar 14, 2025
ff8044c
qdslintplugin: warn about function blocks
samishalayel Mar 14, 2025
b15bc3b
Make GridView::reuseItems work
zzag May 20, 2025
5bf82d1
Update dependencies on 'dev' in qt/qtdeclarative
May 21, 2025
e7134fe
Doc: Remove transparent backgrounds from wireframe images
kkoehne May 19, 2025
3074407
QmlCompiler: Refactor property lookup
May 20, 2025
6c0b74c
Doc: Remove transparent backgrounds from calendar images
kkoehne May 9, 2025
20c7b0b
Doc: Fix \sa in rowHeightProvider
kkoehne May 21, 2025
76d7080
Material: Fix ToolBar color updates on theme changes
jarkkokoivikko-code-q Feb 21, 2025
892ff6c
qqmljscontextproperties: "grep" for setContextProperty calls
samishalayel Apr 7, 2025
4d31fd5
QQmlJSLinter: add crude context properties warnings
samishalayel Apr 7, 2025
7885927
QQmlJSContextProperty: add isWarningEnabled
samishalayel Apr 7, 2025
ff923e8
Take Rectangle per-corner radii out of tech preview
matthias-rauter Jun 13, 2024
b2a74e4
Doc: Document QSGRenderNode::RenderState
andreaseliasson Mar 24, 2025
023798b
qmllintsuggestions: allow to re-lint a file
samishalayel Apr 7, 2025
9a0ca30
qquicktransformgroup: change transitive include to an explicit one
Inkane May 22, 2025
91aabf1
Mark QQmlTableModel(QObject*) constructor explicit
matthias-rauter Apr 12, 2025
e7c7b2f
QtQml: Guard against missing root property caches
May 21, 2025
b739545
qmllint: implement WarnConfusingExpressionStatement
samishalayel Apr 25, 2025
36de3c1
cmake: test .qmlls.ini change on build folder change
samishalayel Mar 3, 2025
6ae7a5a
Update dependencies on 'dev' in qt/qtdeclarative
May 23, 2025
fa45686
macOS: Port from deprecated NSAppearance.currentAppearance
torarnv Apr 15, 2025
efad13b
EventCalendar example: balance begin/endResetModel calls
vohi May 22, 2025
57c635a
EventCalendar example: reference the listview explicitly in the delegate
vohi May 22, 2025
44337ef
QQuickItemPrivate: introduce effectiveDevicePixelRatio() helper method
VladimirBelyavsky May 2, 2025
422795f
QtQml: Do not add null property caches to compilation units
May 22, 2025
4541338
QtQml: Guard against missing root property caches
May 21, 2025
335099e
QtQml: Unregister metatypes before renaming them
May 22, 2025
43aa6bb
Teach QQuickTextControl to deal with QMimeData IM selection/insertion
torarnv Apr 9, 2025
515e4e0
qmllint: Do not trigger assert on typo when using Math
Inkane May 20, 2025
fea2424
tst_QQuickApplicationWindow::layoutLayout(): Check correct child element
torarnv May 26, 2025
c6eb31a
Basic style: don't use QColor(QRgb), use QColor::fromRgba() instead
May 23, 2025
8ca418a
QQmlJS::Lexer: Make Lexer::classify accept QStringView
May 20, 2025
58272fe
QtQuickView signallistener CI tests
Petrivirkkunen Jan 30, 2025
e4971b5
QtQuickView statuslistener CI tests
Petrivirkkunen Mar 3, 2025
41ded46
Popup window: disable window "fitting" on Wayland
May 21, 2025
f17883a
QtQml: Check more thoroughly for equal types when adding references
May 26, 2025
55ecea7
QtQml: Further clarify type loader thread life cycle
May 22, 2025
5506850
QmlCompiler: Type-propagate retrieval of function, context and argc
May 22, 2025
43ba055
QtQml: Re-run complete compilation pipeline on checksum mismatch
May 23, 2025
db3120d
Doc: Remove irrelevant images from Qt QML docs
SafiM5 May 22, 2025
644349f
Accessibility: Add API to set labelled-by relationship
Jul 24, 2024
b1fc47a
Mark rectangle with any radius set as not opaque for software renderer
May 14, 2025
6617c64
Support Flexbox layout in Qt Quick
Mar 24, 2025
b0e38f6
Introduce a TreeModel QML type
Apr 9, 2025
2278556
Update license and external links in doc for quick flexbox layout
May 27, 2025
06c7d8b
a11y: reverse the mapping of Quick to QAccessibleInterface relationships
vohi May 28, 2025
a09cc48
VectorImage: Prepare for separate helpers import for non-svg formats
aavit May 23, 2025
7bdcb4a
Add test cases for QQmlTreeModel::getRow
May 2, 2025
cde7e1a
Add tests to QQmlTreeModel::clear
May 2, 2025
7fecbeb
Add some test cases when appendRow is appending to root
May 5, 2025
a10a3f7
Add tests to QQmlTreeModel::appendRow
May 6, 2025
2302a50
Add tests to QQmlTreeModel::setRow
May 6, 2025
536588f
Add tests to QQmlTreeModel::removeRow
May 7, 2025
5b17c03
Doc: Clarify Item::enabled behavior with respect to child items
QtDheeru May 12, 2025
9efc1fb
Provide a way to sieve data in QML through the SortFilterProxyModel
May 29, 2025
fc9982d
Doc: Fix qdoc command typo in internal documentation
May 26, 2025
dffc470
Avoid unnecessary copy and detach in QSGDefaultPainterNode
May 23, 2025
353b237
Move `qt_internal_project_setup` as early as possible
Mar 28, 2025
7ead5e5
Test appending to an empty QQmlTreeModel
May 8, 2025
fc225a2
Test QQmlTreeModel::setRows on an empty model
May 8, 2025
7c97e93
qmllint: Warn about Components that don't have exactly one QML child
May 20, 2025
2badc18
TypeResolver: remove unused literal scopes data structure
May 20, 2025
005848a
qmllint: Suggest specific types instead of var
May 20, 2025
5f3545d
qmllint: Implement StateCannotHaveChildItem warning
May 26, 2025
ee9592f
Doc: Fix enumeration doc typo
May 27, 2025
7cb271b
AST: Move using declaration to fwd header
May 24, 2025
52976f8
qmllint: Add documentation for newly added warnings
May 13, 2025
5ce13dc
Add assumeTrustedSource property to VectorImage
eskilblomfeldt May 27, 2025
49f717c
doc: Make the overlay less confusing by documenting what's going on
Apr 2, 2025
07dfc8d
doc: Discourage users from abusing the overlay in unintended ways
May 19, 2025
28c5e34
Popup/Overlay: Filter no events for non-popup children of Overlay
May 15, 2025
c30c879
Test QQmlTreeModel::setRows on a non-empty model
May 9, 2025
afc5a1c
Test QQmlTreeModel::setData through delegates
May 9, 2025
2e00bc4
qmllint: Warn about unintentional empty blocks
May 28, 2025
cdd5cc9
qmlls: read import paths from .qmlls.build.ini file
samishalayel May 5, 2025
64bc888
qmllint: implement MaybeWarnEqualityTypeCoercion
samishalayel Apr 25, 2025
a39d417
qmlls: silence file watcher warning
samishalayel May 22, 2025
455f316
make tst_generate_qmlls_ini a data test
samishalayel May 6, 2025
a35b0e4
Qml: Allow accessing unscoped enums values as <Component>.<Enum>.<Key>
May 16, 2025
5e31295
Qml: Add key <-> string helpers to Qml enums
May 26, 2025
a4da2d2
QQuickWindowAttached: warn when trying to attach to non-Item
Inkane May 30, 2025
98b34a9
qtdeclarative: pass the seed to QtPrivate::QHashCombine
thiagomacieira Mar 18, 2025
43821db
tst_QQuickApplicationWindow: Base expected element size on content item
torarnv May 30, 2025
2ff0975
spreadsheets: Make HeaderToolBar a regular ToolBar
torarnv May 23, 2025
6ba0561
attachedstyleproperties: Add safe area padding to custom ToolBar
torarnv May 23, 2025
f55deac
Layouts: Improve "recursive rearrange" warning
May 16, 2025
5f9eafc
Work around component name clash for multiple VectorImages
aavit May 23, 2025
8576166
Introduce SearchField for Quick Controls
dilekakcaay Dec 30, 2024
a96b4cd
Fix null pointer dereference
dilekakcaay Jun 2, 2025
87d82d7
QQuickItem: don't try to print id when item is being destroyed
mitchcurtis May 30, 2025
70a38fc
QQmlJSScope: Create list type for enums
Inkane Jun 2, 2025
d96f616
sg: Fix dpr when grabbing a not-yet-shown QQuickWindow
alpqr Jun 2, 2025
c6351d4
Enable expanded client area by default in iOS style
torarnv May 28, 2025
568cea9
Export QQmlLocaleValueType's meta-object
Inkane May 30, 2025
ddb45c3
Documentation: close \styleproperty properly
dourouc05 Dec 25, 2024
7d3c2da
Fix Rectangle with gradient and color set to transparent
May 12, 2025
1ede48f
QML tree model: Fix Unity build
FriedemannKleint Jun 3, 2025
c5dde43
QML tree model: Fix clang-tidy warnings about using auto
FriedemannKleint Jun 3, 2025
f7c43a3
QML tree model: Fix some clang-tidy warnings
FriedemannKleint Jun 3, 2025
e1f8afe
Add macOS style for SearchField
dilekakcaay May 16, 2025
217439c
VariantAssociationObject: mark own member during gc
Inkane Jun 3, 2025
0178025
Import correct quick module in dialog to access singleton Color instance
Jun 2, 2025
51f647e
Normalize signal/slot signatures 2025
marcmutz Jun 3, 2025
27a122b
qmldomreformatter: avoid deprecated char->QChar conversion
timblechmann Jun 4, 2025
78e2b23
QQuickFolderListModel: Properly range check model index
May 28, 2025
227eb94
QtQuick: Disconnect model when destroying Repeater
May 27, 2025
d3a4c2f
QtQuick: Disconnect model when destroying QQuickItemView
May 27, 2025
3e61e4f
qmllint: Only recurse into QML scopes when searching inline components
May 21, 2025
ddcafa0
cmake: map module to import paths in build folder for qmlls
samishalayel May 5, 2025
681352a
QML: Turn warning into a syntax error
Jun 2, 2025
da9de7c
tst_qquicktableview: fix copy/paste bug, where EditKeyPressed is test…
Jun 3, 2025
f5140d6
Fix for global position in hover events
paulolav Jun 2, 2025
303556c
QML compiler: Fix Unity build on Windows
FriedemannKleint Jun 4, 2025
893192a
Clarify the exact commit of the yoga 3rd party dependency
alcroito May 28, 2025
92dceea
CMake: Add PURL and CPE info to 3rd party attribution files
alcroito May 28, 2025
2ba1997
CMake: Add missing attribution file paths for yoga
alcroito May 28, 2025
a3156e5
Fix a comment in setDataThroughDelegate.qml
Jun 3, 2025
6105034
QQuickSlider: Normalize near-zero values when setting slider value
dorisverria1 Jun 4, 2025
9d7f189
Windows 11: blacklist tst_qquickiconimage::sourceBindingSourceSize
Jun 3, 2025
03a5b7c
Doc: Unify spelling of Qt Qml modules
jaishree04 Jan 28, 2025
18d370f
QtQml: Better encapsulate QV4::Script
Jun 2, 2025
5ee0658
QtQml: Fix thread synchronization in QQuickWorkerScript
Jun 3, 2025
0c705ac
qmllint: Quick plugin: Recognize more acceptable colors
Inkane Jun 4, 2025
c77ff3f
qmlls: remove unused indexing code
samishalayel Jun 4, 2025
7b7c63d
Doc: List yoga engine as 3rdparty in qtquick landing page
kkoehne May 28, 2025
5eb1346
Doc: Fix qdoc link errors in qquickflexboxlayout.cpp
kkoehne May 28, 2025
e3ef5ef
QQuickTableView: use correct model when checking if an item is editable
May 14, 2025
5068a67
QtQml: Do not store type references for properties
May 12, 2025
cb1eaac
qmlformat: fix crash on StatementLists
samishalayel Jun 5, 2025
f2e8a9b
qmlformat: make AstComments::ensureCommentForNode private
samishalayel Jun 5, 2025
c971368
qmlcachegen: fix crash on unresolved type with required property
samishalayel Jun 5, 2025
685e8ce
Doc: Add alt-text to images QtQml
SafiM5 May 7, 2025
eb1bdd4
CMake: Look for Python module explicitly
alcroito Jun 6, 2025
250ee00
Fix mirroredCombobox for FluentWinUI3 style
Jun 5, 2025
048213a
QtQml: Drop source URL from WorkerScript
Jun 4, 2025
6ef8e53
QtQml: Store only QQmlScriptData in QQmlScriptData
Jun 6, 2025
805f996
Doc: Fix layout direction description in ColumnLayout documentation
QtDheeru Jun 6, 2025
ded9bcb
QtQml: Only hold CU in ResolvedTypeReference where needed
May 5, 2025
db7a74d
QQmlBind: Store all values as QV4::PersistentValue
May 23, 2025
07096ee
IconLabel: ensure that items declared as children are painted on top
mitchcurtis Jun 5, 2025
9efdfda
Fix compiler warnings in qqmlobjectcreator.cpp
Jun 3, 2025
52086f7
QQuickMultiPointTouchArea: fix grab threshold calculation
isolovev Jun 5, 2025
f20a020
sg: Fix layers with recursive and MSAA
alpqr Jun 3, 2025
6cc919a
sg: Fix recursive layers losing the previous texture
alpqr Jun 4, 2025
f64ba5d
Qml: Warn about using enums as type annotations in functions
Jun 5, 2025
2a6e858
qmllint: Warn about using enums as type annotations in functions
Jun 5, 2025
e53a227
tst_QQuickMenu::contextMenuKeyboard: Fix flakiness on xcb platforms
Jun 5, 2025
5bec6a1
gc: Assume less if hasConstWrapper is set
Inkane Jun 4, 2025
40dba0f
qqmljs.g Return spelling for T_ON
May 20, 2025
b4e80ed
tst_QQuickFile/FolderDialogImpl: use canonical paths
mitchcurtis Jun 6, 2025
063cb0b
tst_qmlcachegen: Produce nicer failure messages
Jun 10, 2025
a4ef8ef
qmllint: Recognize transparent as a color in quick plugin
Inkane May 21, 2025
5137c85
QtQml: Do not crash when registering native modules on QQmlEngine
Jun 11, 2025
cdd2300
QtQml: Move URL normalization to QQmlMetaType
Jun 10, 2025
b4641ef
Tests: ommit accessibility tests based on config
mseben Jun 2, 2025
cf8f44d
Qml Language: qqmljs.g restructure Identifiers and Keywords
May 22, 2025
f649231
QML Language: qqmljs.g update future reserved keywords
May 22, 2025
5982907
Qml Language: qqmljs.g remove T_RESERVED_WORD
May 22, 2025
6e6cfe4
Improve "Cannot assign object to list property" error message
mitchcurtis Jun 9, 2025
7804389
QtQml: Add a default-initialized dummy entry to QQmlBindEntryContent
Jun 12, 2025
9183a84
qmlls: check the exit status of CMake before checking exitCode
samishalayel Jun 12, 2025
6aa4270
qmlls: remove unused struct ToIndex
samishalayel Jun 10, 2025
a377634
QtQml: Refactor notifying functionality out of QQmlTypeData
Jun 4, 2025
a68aab2
WorkerScript: Clean up event classes and enums
Jun 12, 2025
e242146
Fix tooltip wrapping on macOS when using native window
Jun 11, 2025
2d4bebd
QQuickDialogs: fix dark mode in FolderBreadcumbBar
isolovev Jun 6, 2025
7322e05
QQuickDialogs: fix dark mode in SideBar
isolovev Jun 10, 2025
3759d32
QtQuickView statuslistener test: Use version-independent include
michaelweghorn Jun 13, 2025
b6d533a
ColorPicker: remove handle as a listener during destruction
vohi Jun 12, 2025
051a971
qv4script.cpp: Add missing QT_{BEGIN|END}_NAMESPACE
Jun 13, 2025
943f9ca
Disable tst_qquickcontextmenu::menuItemShouldntTriggerOnRelease
Jun 4, 2025
ef2d29e
Bump version to 6.11.0
jaheikk Jun 4, 2025
398a312
Update dependencies on 'dev' in qt/qtdeclarative
Jun 11, 2025
9f1f147
ECMAScript tests: Add option to use threads instead of processes
Jun 12, 2025
99c7c1f
WorkerScript: Properly reset entry in workers map on removal
Jun 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 7 additions & 1 deletion .cmake.conf
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
set(QT_REPO_MODULE_VERSION "6.2.0")
set(QT_REPO_MODULE_VERSION "6.11.0")
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")

set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_LEAN_HEADERS=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QSNPRINTF=1")
10 changes: 6 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*_crlf.* eol=crlf
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore
*_crlf.* eol=crlf
*_mac_cr.* eol=cr
.tag export-subst
.gitignore export-ignore
.gitattributes export-ignore
.commit-template export-ignore
72 changes: 71 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,31 @@ bin/qml*
bin/qttracereplay*
configure.cache
config.status
examples/quickcontrols/chattutorial/chapter1-settingup/chapter1-settingup
examples/quickcontrols/chattutorial/chapter2-lists/chapter2-lists
examples/quickcontrols/chattutorial/chapter3-navigation/chapter3-navigation
examples/quickcontrols/chattutorial/chapter4-models/chapter4-models
examples/quickcontrols/chattutorial/chapter5-styling/chapter5-styling
examples/quickcontrols/contactlist/contactlist
examples/quickcontrols/flatstyle/flatstyle
examples/quickcontrols/gallery/gallery
examples/quickcontrols/imagine/automotive/automotive
examples/quickcontrols/sidepanel/sidepanel
examples/quickcontrols/swipetoremove/swipetoremove
examples/quickcontrols/texteditor/texteditor
examples/quickcontrols/wearable/wearable
moc_*.cpp
qmake/qmake.exe
qmake/Makefile.bak
src/corelib/global/qconfig.cpp
src/corelib/global/qconfig.h
src/corelib/global/qconfig.h.qmake
src/quickcontrols/qtquickcontrols2-config.h
src/quickcontrols/qtquickcontrols2-config.pri
src/quickcontrols/qtquickcontrols2-config_p.h
src/quicktemplates/qtquicktemplates2-config.h
src/quicktemplates/qtquicktemplates2-config.pri
src/quicktemplates/qtquicktemplates2-config_p.h
ui_*.h
tests/auto/cmake/build
tests/auto/installed_cmake/build
Expand All @@ -107,6 +126,50 @@ tests/auto/qprocess/fileWriterProcess.txt
.com.apple.timemachine.supported
tests/auto/qlibrary/libmylib.so*
tests/auto/qresourceengine/runtime_resource.rcc
tests/auto/quickcontrols/accessibility/tst_accessibility
tests/auto/quickcontrols/calendar/tst_calendar
tests/auto/quickcontrols/controls/basic/tst_basic
tests/auto/quickcontrols/controls/fusion/tst_fusion
tests/auto/quickcontrols/controls/imagine/tst_imagine
tests/auto/quickcontrols/controls/material/tst_material
tests/auto/quickcontrols/controls/universal/tst_universal
tests/auto/quickcontrols/cursor/tst_cursor
tests/auto/quickcontrols/customization/tst_customization
tests/auto/quickcontrols/focus/tst_focus
tests/auto/quickcontrols/font/tst_font
tests/auto/quickcontrols/palette/tst_palette
tests/auto/quickcontrols/platform/tst_platform
tests/auto/quickcontrols/pressandhold/tst_pressandhold
tests/auto/quickcontrols/qquickapplicationwindow/tst_qquickapplicationwindow
tests/auto/quickcontrols/qquickcolor/tst_qquickcolor
tests/auto/quickcontrols/qquickdrawer/tst_qquickdrawer
tests/auto/quickcontrols/qquickiconimage/tst_qquickiconimage
tests/auto/quickcontrols/qquickiconlabel/tst_qquickiconlabel
tests/auto/quickcontrols/qquickimaginestyle/tst_qquickimaginestyle
tests/auto/quickcontrols/qquickmaterialstyle/tst_qquickmaterialstyle
tests/auto/quickcontrols/qquickmaterialstyleconf/tst_qquickmaterialstyleconf
tests/auto/quickcontrols/qquickmenu/tst_qquickmenu
tests/auto/quickcontrols/qquickmenubar/tst_qquickmenubar
tests/auto/quickcontrols/qquickninepatchimage/tst_qquickninepatchimage
tests/auto/quickcontrols/qquickpopup/tst_qquickpopup
tests/auto/quickcontrols/qquickstyle/tst_qquickstyle
tests/auto/quickcontrols/qquickstyleselector/tst_qquickstyleselector
tests/auto/quickcontrols/qquickuniversalstyle/tst_qquickuniversalstyle
tests/auto/quickcontrols/qquickuniversalstyleconf/tst_qquickuniversalstyleconf
tests/auto/quickcontrols/revisions/tst_revisions
tests/auto/quickcontrols/sanity/tst_sanity
tests/auto/quickcontrols/snippets/tst_snippets
tests/auto/quickcontrols/styles/tst_styles
tests/auto/quickcontrols/snippets/screenshots/*.png
tests/benchmarks/creationtime/tst_creationtime
tests/benchmarks/objectcount/tst_objectcount
tests/manual/quickcontrols/buttons/buttons
tests/manual/quickcontrols/fonts/fonts
tests/manual/quickcontrols/gifs/tst_gifs
tests/manual/quickcontrols/styles/styles
tests/manual/quickcontrols/testbench/testbench
tests/manual/quickcontrols/screenshots/screenshots
tests/manual/quickcontrols/gifs/gifs/*.gif
tools/qtestlib/chart/chart*
tools/qtestlib/updater/updater*
tools/qmleasing/qmleasing
Expand Down Expand Up @@ -288,7 +351,6 @@ tests/auto/*/*/*/*.moc
src/qml/RegExpJitTables.h
src/qml/udis86_itab.c
src/qml/udis86_itab.h
src/qml/qml_compile_hash_p.h

# Generated HLSL bytecode headers
*.hlslh
Expand All @@ -301,7 +363,15 @@ src/qml/qml_compile_hash_p.h
/build*
CMakeFiles
CTestTestfile.cmake
CMakeUserPresets.json
cmake_install.cmake
*_autogen
tst_*.xml
CMakeLists.txt.user

# QML Language Server ini-files
.qmlls.ini

# Clangd related
.cache/*
compile_commands.json
4 changes: 4 additions & 0 deletions .gitreview
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[gerrit]
host=codereview.qt-project.org
project=qt/qtdeclarative
defaultbranch=dev
6 changes: 0 additions & 6 deletions .qmake.conf

This file was deleted.

2 changes: 1 addition & 1 deletion .tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$Format:%H$
$Format:%T$
34 changes: 24 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

# Generated from qtdeclarative.pro.

cmake_minimum_required(VERSION 3.15.0)
cmake_minimum_required(VERSION 3.16)

include(.cmake.conf)
project(QtDeclarative # special case
Expand All @@ -10,16 +13,14 @@ project(QtDeclarative # special case
LANGUAGES CXX C
)

# special case begin
# Make sure we only use latest private CMake API, aka no compatibility wrappers.
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)

# Make sure we use the fixed BASE argument of qt_add_resource.
set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
# special case end
# This should be called as early as possible, just after find_package(BuildInternals) where it is
# defined.
qt_internal_project_setup()

find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Widgets OpenGL OpenGLWidgets Sql Concurrent Test)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED Core)
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Widgets OpenGL OpenGLWidgets Sql Concurrent Test TestInternalsPrivate LanguageServerPrivate LinguistTools Svg ExamplesAssetDownloaderPrivate)

# Set up QT_HOST_PATH as an extra root path to look for the ShaderToolsTools package
# when cross-compiling.
Expand All @@ -32,16 +33,29 @@ endif()

# This can't use the find_package(Qt6 COMPONENTS) signature, because Qt6Config uses NO_DEFAULT and
# won't look at the prepend extra find root paths.
find_package(Qt6ShaderToolsTools ${PROJECT_VERSION} QUIET CONFIG)
find_package(Qt6ShaderToolsTools ${PROJECT_VERSION} QUIET CONFIG
PATHS
${_qt_additional_packages_prefix_path}
${_qt_additional_packages_prefix_path_env}
)

if(NOT "${QT_HOST_PATH}" STREQUAL "")
set(CMAKE_PREFIX_PATH ${_qt_backup_qtdeclarative_CMAKE_PREFIX_PATH})
set(CMAKE_FIND_ROOT_PATH ${_qt_backup_qtdeclarative_CMAKE_FIND_ROOT_PATH})
endif()

# Optionally look for the target ShaderTools package to avoid warnings
# when configuring the project to build examples in-tree in a prefix Qt build.
# See QTBUG-96358 for details.
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS ShaderTools)

# special case begin
# export QT6_ADD_QML_MODULE to this project
include(src/qml/Qt6QmlMacros.cmake)
if(ANDROID)
include("${CMAKE_CURRENT_LIST_DIR}/src/qml/Qt6AndroidQmlMacros.cmake")
endif()
include("${CMAKE_CURRENT_LIST_DIR}/src/qml/Qt6QmlPublicCMakeHelpers.cmake")
# special case end

if(NOT QT_FEATURE_commandlineparser)
Expand Down
Loading