| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Use the correct type to avoid dependence on compiler-specific memory
layout.
Pick-to: 6.6
Change-Id: I5af56074d4710be444816011367bc8cbf965b2e2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-116334
Change-Id: I993b6157c3ef8a69e4e218d62596b5219ab4b34b
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit 46fc095ae48456afab360847e0c8cb16f59997c8)
|
|
|
|
|
|
|
|
|
|
| |
It is overridden by QQuickMnemonicLabel.
Change-Id: I77021f0bd73d43b3fe5ef63a3816730d7de65327
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
(cherry picked from commit 1804d4965b39dbc08a505be5eade0d8131880ef6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit cc1ed02ed3f55a2b713b10680b9fdac5f55c3d6d)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Link to the example, and clean up some of the most egregious
outdated statements that are no longer relevant for a long
time now.
Change-Id: I996c51a13c76529a7ce8ae3fa9ffd7129e717c0e
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
(cherry picked from commit 9000c9f17c66455071c0b7eed0e9168b94c8553d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b5dba4e3df17d6279045c80bcc11674a5d4dbaa2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QQmlSA is meant as the public namespace, QQmlJS is (at least currently)
completely internal. However, LoggerWarningID currently only existed in
QQmlJS.
Move it into QQmlSA, add some minimal class documentation and add a
typedef in QQmlJS (inside a private header) to avoid the need to modify
all users.
Change-Id: Icff860c92054ac810c6e15eb26090d38fbc2c965
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit d77693a028ce4c0faffafb612b8f4881d38e99ac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ba9d23d051d08a34318af452d0f78a55d20caad3)
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-115766
Change-Id: Id57bd53dbcccc107d57fd866a6c69f51b4303bc3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 542687a2088276748e13ea38e188b17489823716)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e60840d4afee8d73083f81caefd53389d20d45fc)
|
|
|
|
|
|
|
|
|
|
|
|
| |
The \value command in QDoc now supports adding since information
in a bracketed argument. This enables listing new enum values
also in the top-level 'What's New in Qt' documentation.
Task-number: QTBUG-116844
Change-Id: Ib8850252704720d0ab5629905da4196baf33def6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 1a6f02076e458dbb543b110cef06576bd4f746fd)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-111570
Change-Id: I16bb1f83977b9ee05f7568f122d5242892592c94
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit e78961400e3a22557f33ab733d0ba4cd3bd4eb8c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 04c63a71ba6740e01fdfb66d38ffa69aea07e8d4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most users use Loader for visual types, so the first sentence being
about non-visual types just makes it take that little bit longer to get
to the point for the majority of readers. Move it to the end.
Pick-to: 6.5 6.2
Change-Id: I736c067e9f73a1bc4fc27b4d358441b722241501
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
(cherry picked from commit 628dd94a7584195b4c7aa49c01f6bdc45a71d2c4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
This was missed in b82af7b42db3c206ce7dd44e39304bf1166024f2.
Change-Id: I8920d39952ab5e2f1311a011f8583e9a71eb818c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit ea72007caa04ea882a7b1ee70274973f4ca3a432)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After 90d3fac73a10b9363fd34e6757cc730d7a0c086c we got a regression on
Android at least: if you long-press to select a word, selection handles
appear; then when you release, there's a QTouchEvent which is left
unhandled, and then a synth-mouse release. In this case, we don't want
to call setCursorPosition(), because it de-selects the selection that
was just made by the input method.
But the intention was to be able to set the cursor position (and also
deselect text) by tapping on a touchscreen on other platforms that don't
have text selection handles. (It seems to be consistent with Android
behavior: there you can also deselect and move the cursor by simply
tapping.) To avoid changing that behavior, we now set a flag if we get
a mouse press and then a QInputMethodEvent with a Selection attribute,
indicating that text got selected that way; and in that case, don't
call setCursorPosition().
Fixes: QTBUG-115004
Pick-to: 6.5
Change-Id: I7e362da584f6e1cb1509dcc0eff024b291ef5df3
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
(cherry picked from commit c1d5e46ea79762bfcc070fabbf10ff7fdf184e01)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When QQuickLoaderPrivate::load() loads a Text item, its ctor calls
QQuickTextPrivate::init(), which calls setFlag(ItemObservesViewport).
QQuickItem::setFlag() tries to go up the parent hierarchy to get
subtreeTransformChangedEnabled turned on; but at that time, the Text
does not yet have a parent.
If a Flickable contains a Loader that loads a Text with large content,
QQuickTextPrivate::transformChanged() needs to get called during
scrolling. Loader is not interested in these notifications for itself;
so its parent's QQuickItemPrivate::transformChanged() detects that and
turns off subtreeTransformChangedEnabled. After the child is loaded,
QQuickLoader::itemChange() detects that the child's ItemObservesViewport
is already set, and sets the same flag again. setFlag() doesn't have a
guard, so the parent traversal happens again, and
subtreeTransformChangedEnabled gets turned back on.
If a different child were loaded, and that child did not want the
notifications, the next QQuickItemPrivate::transformChanged()
would detect it. If the child changed its own flag later on (e.g.
because a small amount of text was replaced with a larger document,
exceeding QQUICKTEXT_LARGETEXT_THRESHOLD), QQuickItem::setFlag() would
be able to go up the parent chain at that time.
For the autotest, long.qml has about 15KB of text. Maybe it will
be reusable. At least it should compress well in git packfiles,
since we have this license text elsewhere.
Fixes: QTBUG-115687
Change-Id: I87b6a42f5735b8f9c2267f91a4112681da05de5d
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
(cherry picked from commit 8c7c60fff37ea7bb7420d925e2f88e62764bf86b)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace an assert with a warning, and warn when qualified import names
start with a lower case letter. Add a test for that.
Also warn when using a qualified import with a name starting with a
lower case, so users can fix their mistake more easily.
Change-Id: Iff2b9148c5a36625baad70798e2efe006905e2a3
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit eae7381b91192f6021e84f99be4d5c416aae9510)
|
|
|
|
|
|
|
|
|
|
| |
Fixes a bug where shapes would continue to be batched even if one of
them were changed.
Change-Id: I1c7f6527668f6cc617862e41463a0f470edb89c7
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 6f8f15a7a08416ef98485d0f9e6dcd3afa968b1f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Move qmllint arguments under the generator expression guard.
Fixes: QTBUG-115328
Change-Id: I7835251f0bf77555b878ff765af1abc76c5c17bd
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 0e18b14fecfafb725c79068ac29707a6aaa6b87c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove useless arg#0 bindingIdentifier from FormalParameterList. They
are used nowhere, are not tested and are not even set correctly:
FormalParameterList::finish() sets next to nullptr before its forloop
that goes from this to this->next (that was freshly set to nullptr three
lines above)...
Instead of setting bindingIdentifier to arg#0 when its empty and testing
for arg#, just test for bindingIdentifier being empty. That saves some
trouble in qmlformat because you dont have to care about the position
that the current method parameter has.
Apropos position of the current parameter: qmlformat needs some context
when doing its reformatting test, to avoid reparsing code in completely
wrong contexts. Add missing preCode and postCode to MethodParameter to
provide an artificial context for qmlformat, so it knows that it is
working on a MethodParameter, and also teach qmlformat how to
get the FormalParameter out of the artificial context, by extracting it
from the FormalParameterList.
Pick-to: 6.5
Change-Id: I2bc82f65d95c3cd09ad846c60dd7561ac03efad3
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
(cherry picked from commit 640ff3d8125264e25bd1826529b9a57cdddf2205)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The \generate list names are added for each categorized section with
some explanation. Here, calling the overviews as
explanations-(name of the section). The idea is to give general terms
instead of specific phrases like 'core' etc, for better understanding.
Task-number: QTBUG-115347
Pick-to: 6.5
Change-Id: Ib33b450aa0919b0fd3e7a265cd2843af6c7d019c
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit e33a63d0dec5dd7ebd8d3fc172de9d6e24ddf00f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using a const reference triggers QTBUG-116742 because the refcounting
fails in some non-obvious way. Moving the string into place avoids
touching the refcount.
Task-number: QTBUG-116742
Change-Id: I9195ad84ac2c97d6624cd29e4c747f66c7919b09
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 034cd962f5196b4d729459f01869169b37956597)
|
|
|
|
|
|
|
|
|
|
|
|
| |
and remove the Script_ prefix from its entries. This is more aligned
with Qt's namings conventions.
Change-Id: Ie97c2ce204b5532ab6bd6b136145f2a537175fbb
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
(cherry picked from commit d12d7a901f856311fc532a6f728b6e96e539d6e5)
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
|
|
|
|
|
|
|
|
| |
Change-Id: I12ef1ad0315c609af7059c58e77196eba4f5fd92
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
(cherry picked from commit 145e21fc2493e3ff104029935cca3f1793fe8767)
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The threading example used a LauncherList to combine
two different but related examples into one.
I've now separated both into a shared directory called
'threading'
Change-Id: Iee8898e61adcf69dc67157a1eff5f6ac019a39ca
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 38373b81f37ccbf6ec66f43a70fe9622bbcc9593)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Consequently, remove code that supported setting a non-native
contentItem.
Task-number: QTBUG-107771
Change-Id: I871156c567f85db6e1b8247dcc6c2ea6a350cd4d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 901a8bf768abc3672e512b3f481b24ac0e1afb52)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
By adding it to ColorGroup. It was added to QPalette in
17c589df94a2245ee92d45839c2cba73566d7310 (6.6).
Fixes: QTBUG-116106
Change-Id: Ief38c131c5c7c01e02839235914f2917b9ba8255
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit b82af7b42db3c206ce7dd44e39304bf1166024f2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
... but warn about them. Apparently we did accept them prior to 6.4.
Fixes: QTBUG-116576
Change-Id: If890db85f5a8d71c0bcdfaf646ee9f01765a0b3c
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
(cherry picked from commit 2fc19f2c627802d26bd385a6c9cc1f6412852ee2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If using QQuickRenderTarget to the QQuickWindow, and set true in
QQuickRenderTarget::setMirrorVertically, the QQuickWindow will
apply flip Y to the matrix with native NDC, this behovior is
wrong, If QRhi::isYUpInNDC is true, must ensure the
QSGAbstractRenderer::projectionMatrixWithNativeNDC is following
QSGAbstractRenderer::projectionMatrix, otherwise must ensure its
flip Y relative to QSGAbstractRenderer::projectionMatrix.
Fixes: QTBUG-116587
Change-Id: I12b5f6e37ed5bad8656cf46bf1a25e534db24b62
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit e898c06759b5c5a6138fac6f9a2cb31388ea3da9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simplified() sounds like it should be invokable, since we have
precedents like QString::simplified() and QPainterPath::simplified().
We might even want a QML API like that some day.
The new name more clearly indicates that it will internally simplify
itself.
Change-Id: I6b6ced667f78317c374fa02338752d15b35b8ed4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 03dab7544eef6205d751003453d7c316c983b096)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-116749
Change-Id: If1c61da09685045e40565e0d864db6d30896dd85
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit 2866cecd95989d6292254bd8055a5b8b65f4c3dc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a bug that visualSizeChanged signal won't be emitted when needed,
causing listeners such as binding expression being stuck with an old
value without updates. This has caused a visual glitch with scrollbars
in KDE: they appear incorrectly sized initially, but fix themselves as
soon as scrolling starts. Needless to say, we don't use overshoot on
desktops, but that feature is also plagued by this bug.
Solution is to (1) don't assign new d->size before measuring visualArea,
and (2) don't reassign oldVisualArea, because it would override visual
size with an updated data, losing information needed for
visualAreaChange to determine whether to emit signal or not.
To optimize and avoid double-signals for visual position, existing
setPosition() method was factored out into a new private method with
an optional signal suppression flag.
See also: https://bugs.kde.org/show_bug.cgi?id=473241
Change-Id: Id0482e5b90e08e1bb31367efe86f4a9cc046c4f6
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
(cherry picked from commit 470cc1a600ef5364fd7bee0f3f0b822ba95bab35)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now requesting d3d12 via QSG_RHI_BACKEND or the C++
API maps to the Null backend of QRhi. That is not ideal.
QRhiWidget has this logic, but the already existing
QQuickWidget was not yet adjusted in 6.6 it seems.
Change-Id: I12301e815d525c14584b01dcd0caa787d1c79ad0
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit 76ae3dd78335b39d89b78480b6e9bf7364b3bd2c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Display the fix suggestions from qmllint in qmlls instead of just
showing the warning.
For example,
'Unqualified access: xxx is accessible in this scope because you are
handling a signal at 18:10. Use a function instead.'
sounds so much more helpful than the previous 'Unqualified access'.
Add an ending '.' in QQmlJSFixSuggestion's messages where missing.
Enable quick-fixes in VS Code and QtC by labeling quickfixes as
quickfixes. Everything that is not labelled a quickfix might need a
special language client implementation to work.
Also, add a test for quickfixes: it seems someone broke the quick
fix functionality in qmlls by mistake by relabeling a quickfix to
'refactor.rewrite'.
Cherry-picking notes: This commit had to take into account that
the tst_qmlls_modules improvements were not picked back.
Fix the test to avoid duplicate publish notifications handlers and
cache the notification as it is just fired once.
Task-number: QTBUG-115213
Change-Id: I350e23901b97d16a60bb39fdb4ab566b0d7fbdfb
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 50a7560b784f16e4d8d697ce62bede8aa56d75f6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace references to nonexistent type PointAttractor with the
correct type name, Attractor.
* Replace references to nonexistent enumerations with a generic
'enumeration' property type.
* Use \value commands in QML enumeration docs
* Address language issues
Fixes QDoc warning: No such type 'PointAttractor' in QML module
'QtQuick.Particles'.
Change-Id: I989bf62e8b96e2c508a3dbfdc4fd8d6ada0f6e32
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
(cherry picked from commit 03e14e4026e6256b26f03228514a97f17b005b73)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QtPdf depends on QQuickPixmap::loadImageFromDevice() to pass a QPdfFile
(which carries a pointer to the QPdfDocument) down into QPdfIOHandler
so that it can avoid needing to reopen the document. But the
introduction of loadImageFromDevice(), and then using the pixmap cache
so intensively to store a lot of rendered PDF pages, revealed a drastic
memory leak: many QQuickPixmapData instances remained in
QQuickPixmapStore::m_cache long after their refCounts became 0.
Quick scrolling through a PdfMultiPageView (especially if the zoom level
is also being changed dynamically) can easily generate a lot of
page-rendering jobs, some of which get cancelled early because the view
has moved on to other pages and/or zoom levels.
Here are several related fixes:
- QQuickPixmapReader::getImage() creates a "job" represented by
the QQuickPixmapReply that is returned, but now we start the job
in a separate method, to ensure that
QQuickPixmap::loadImageFromDevice() succeeds in connecting the
QQuickPixmapReply::destroyed() signal before the job completes
and deletes itself.
- Use a QMutex to prevent QQuickPixmapStore::m_cache reentrancy:
Rarely, a crash was possible when QQuickPixmapStore's QHash m_cache
was modified between QHash::find() and dereferencing the iterator it
returns, e.g. in QQuickPixmap::loadImageFromDevice().
- QQuickPixmapData::release() is needed in a few more places.
- QQuickPixmapReply::finished isn't emitted if the job is cancelled, so
the lambda that called oldD->release() wasn't called, and that was the
remaining leak. We tried connecting QObject::destroyed() earlier, but
it was causing a crash because the mutex to protect m_cache from
simultaneous modification and QHash::find() was not in place. Now it
seems ok.
- Show "Number of leaked pixmaps: 0" in the qt.scenegraph.leaks logging
category to make verification less ambiguous.
Task-number: QTBUG-114953
Change-Id: I11518ccf28ee5a5055ae745a5921837d2f3151b6
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit c871a52f94a4836515754e641ee02386a9876a58)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It now has public API, and users shouldn't need to link against
QmlCompilerPrivate to gain access to that API.
Change some includes to avoid syncqt complaints, and remove a
superfluous const to avoid pedantic warnings.
Change-Id: I00ac8713f6bd9d1437300bc833cf16b62216caa0
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit ac5c7d52737489b2b63071e1003ef2d72e8eb8ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sourceSize property in QQuickImageBase were shadowed by the
QQuickBorderImage class because of a change I made in
351979e05ad2a861fc3e6f8d1.
Since QQuickImageBase functions as the base class for QQuickBorderImage
and QQuickImage, and since sourceSize in those two classes work slighly
different (e.g QQuickBorderImage::sourceSize being read-only).
It would make more sense to simply let those two types declare their own
distinct Q_PROPERTIES, instead of using inheritance.
Fixes: QTBUG-116399
Change-Id: Ia238b58307b16031b56866450d74f10d1e59b62f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit c5f58f40eda72d6e7f28e24a7509ced3eca247d1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This fix resolves the following qdoc warning:
(qdoc) warning: Can't link to 'Limitations when compiling JavaScript'
Change-Id: I76a3cb6188719bd7a893b4744a23c49a0e632015
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 751767d5ca31789ba73a29d815af25e0076e2f64)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This behavior has been in place since Qt 5 (or perhaps even earlier)
Change-Id: If60192e4302f5b1316d29dc42139eb66855789a1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit e041ba46f2f407a306746b6a1dbe7d48a40401b7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: Iacbb8cc5f9d887cdd7f14f1d948e37e27e5c6083
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 6afb1ec82bdca7a1ea3a7a5e12a3f143962860ea)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Adopt the documentation we have added in dev.
Change-Id: Ic877e391b17b4b008f9f8543019f3944eb264475
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit cd3a9cd96478b4b4e906ec025ae5574198801b6d)
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All android targets are created as module targets, using the
'add_library(<target> MODULE ...)' call. When we select the linking
type for static QML modules, we don't take into account those and
this ends up with interface linking of Android apps to static QML
modules. Consider module library targets in this case.
Change-Id: I8151764eca6391feb4b0bd76f313314f22d50f7b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 982a4d68af1b7483d91290a7b7c1c335fe9a52bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-116617
Change-Id: I09e493096670395b7187263a9dfd789b185d8a96
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
(cherry picked from commit a49424857342c0569f3dcc3937a4b5b387a0a45e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: Ia74afedad311805b5e5bb951215ca42952137eb9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 4f5e36ac591ce534fdeea6fe66995fa5e20343ea)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This avoids future conflicts between different "Invalid" values.
Change-Id: I42f3d6e5b6d1b46931999dc2c72177872a104be9
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit bc62914fe3b912dafbf091b229f060084e3dc9fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: Ib380914ddfe412dd089ce13411b4695cf7678b47
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 62645e2cea3ceb5c1a35195c4c4e3a026f638775)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unused enum
- Remove unused forward declaration
- Replace unused include with minimial include
Change-Id: I84751392f92815f3e9d2725d0ef7996df1e6c9a6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
(cherry picked from commit d39518ff693da9b7845669a2124e395e6c851e8b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Avoid more noise during eperimentation or testing
Change-Id: I0e64f62715780c3aba69c66d74e3de6a729bec8f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 0f683a95d1462711a43f2b022ddeee189a03bf6c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not needed by the QQmlSA API. Additionally, remove the comparison
operator for LoggerCategory and LoggerId, and replace its users by
getting the id from the category before comparing.
Change-Id: I7747b09b941cfd5326b95d2ee2f78b0ee10991d3
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
(cherry picked from commit 50f714789d43136ea2f8c29536b6b80d598e3b6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add some tests for go to definition and fix it for properties
that are defined in a different file.
Task-number: QTBUG-111409
Change-Id: Ia59f34aafce2a6c01ab3942acdb26826773b8750
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit f0c7d1695ce04600e8bdf7d30564a0191463ff1f)
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
As far as the type propagator is concerned, it is the the same as
StoreNameSloppy. This allows the unqualified id check to work in strict
functions, too.
Change-Id: Ie4ca823c996e058e4cdde632acaa1caa146b77bc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit f9d74e8326b11b39b3bdbcb1ff87a9c8f8bc0d34)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In QQmlJSTypePropagator::generate_StoreName, we would return early in a
few error cases (after calling setError). That is okay for the compiler,
which cares about setError, but qmllint is not interested in compiler
errors by default.
This would result in us not issuing warnings about unqualified id
accesses.
Fix this by also logging the errors via the logger.
Fixes: QTBUG-114467
Change-Id: I10ad10e5c93762b3d9d1fb50d3cabcff2c0b7a4f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 15082891f78d3e6df121fbaef7626be5250bd1e4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: I68ad17bc8c6cdfb134664f9b9d0da542420994df
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 53476d31450d5dc69fef439d1a2060ffa01473b2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|