aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Android: update Qt Quick for Android examples to SDK 36Rami Potinkara9 hours1-2/+2
| | | | | | | | | | | This patch updates qtdeclarative examples to use SDK 36 as a target and compile version SDK. Task-number: QTBUG-138552 Task-number: QTBUG-138549 Pick-to: 6.11 6.10 6.8 Change-Id: If655c6654790b4be3704325aceca6df4947362d4 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* tst_qquickdeliveryagent: increase timeoutTim Blechmann2 days1-1/+1
| | | | | | | | | | | | | | in a local build: ``` FAIL! : tst_qquickdeliveryagent::mouseMoveHoverEfficiency() The computed value is expected to be less than the baseline, but is not Computed (QQuickItemPrivate::itemToParentTransform_counter): 11806 Baseline (11000ull) : 11000 ``` Change-Id: I3fe69235c09023d9a59fabe02b0d9fadcd204d98 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* VectorImage: Support CSS easing curvesHatem ElKharashy2 days2-0/+82
| | | | | | | | | | | | Supports linear and any cubic bezier based easing curves supported by Qt Svg. For the current time being, whenever the easing curve is set to a step function in Qt Svg, we revert to the default value which is the "ease" keyword in CSS. Pick-to: 6.11 Task-number: QTBUG-142333 Change-Id: Ifb6b3a2dfe955b5a247399e201efe0d7877bf235 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* QtQml: Do not load resolved CompilationUnits from other enginesUlf Hermann3 days5-5/+44
| | | | | | | | | | | | | | | | | | | | | If the type loader doesn't have a QQmlDataBlob in its cache, then this engine hasn't ever loaded and resolved the respective compilation unit. We can't skip the type resolution then because the current engine may have different URL interceptors, import paths, plugin paths etc than the one that previously loaded the CU. This leads to different type resolutions. This should not re-open QTBUG-134398 since now the base compilation units are not shared between engines anymore, despite still being stored in the type registry. Amends commit 27c2c989a3d10557da15de3d45bb5bd7b96d14e8. Amends commit 6468df7657f6af4de8727363c7f7d97b680b1867. Pick-to: 6.11 6.10 6.8 Fixes: QTBUG-142658 Change-Id: I10139492c38b4a943ecca41928ec96097cd8bfbe Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* TableView: fix initial topRow/bottomRow/leftColumn/rightColumn signalsMiika Pernu3 days1-4/+4
| | | | | | | | | | Property changed signals weren't correctly emitted due to comparison against old values that were incorrect. When constructing the view for the first time, the properties have initial value of -1 and not 0. Fixes: QTBUG-142067 Change-Id: I86bde8abd65e6f135a9f03f35913da914d762d26 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Remove hideLine flag from QQuickEllipseShapeAlexey Zerkin6 days2-6/+2
| | | | | | | | | After migration from QML version hideLine flag became useless in EllipseShape Task-number: QTBUG-142557 Pick-to: 6.11 Change-Id: I95b6407908385e4a406a15d3f36d5049e2725314 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* Fix typo EllipseShape.Outised -> EllipseShape.OutsideJan Arve Sæther7 days1-1/+1
| | | | | | Pick-to: 6.11 Change-Id: I88b25f6fa2e98fefb3f0e353804ba997e4709290 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlCompiler: Get length from strings wrapped in QJSPrimitiveValueUlf Hermann7 days2-0/+9
| | | | | | | | | | | | We need to consider the original type of the value in order to see what we can do with it and we need to convert it (back) to string where necessary. Pick-to: 6.11 6.10 Fixes: QTBUG-142550 Change-Id: Ic0eb2c7a22636cfb2d97297421b911555bd32bb1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* Change order tst_palette::comboBoxPopup to ensure theme is not fixedFrédéric Lefebvre7 days1-2/+2
| | | | | | | | | | | | | | Tst_palette::comboBoxPopupWithThemDefault fails on its first run because tst_palette:comboBoxPopup sets a theme beforehand. It always passes on its second run, as no theme as been fixed yet. Change the order of the two tests ensuring that comboBoxPopupWithThemDefault is passing on its first run. This is a workaround to prevent the theme being fixed before the test. Change-Id: I902f6b0cff9f35305cb5534d1318395677fa2748 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Qt.createQmlObject: Trim compilation unitsFabian Kosmale7 days2-0/+29
| | | | | | | | | | | | | | | | | | | | | | | When we call createQmlObject, a completely new compilation unit is created. If an object is stil in use, that compilation is obviously needed. However, if code is using createQmlObject repeatedly with the same URL, there's a good chance that the object was only temporarily needed. To avoid unbounded memory usage in that case, we call trimCompilationUnitsForUrl, to remove the no longer needed CUs. Note that this does not help if the URL is also changing dynamically, but we don't want to trim all caches, including ones the user might actually want to hold on. To handle such cases, we should rather 1. integrate the trimming logic with the gc 2. give it a separate, configurable "high water mark" 3. Use some proper caching system for CUs, e.g. LRU That is however out of scope for this commit. Pick-to: 6.11 6.10 6.8 Fixes: QTBUG-142555 Change-Id: I7ebb63abd9bb99531b6b6b2cf1f98b35b1e652e2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Properly blacklist Switch mouse/touch tests on macOS 26Tor Arne Vestbø8 days1-2/+2
| | | | | | | | Amends 023cad2c2c815c3237fdd4636213084db63fdcb1. Task-number: QTBUG-142189 Change-Id: I4aac13fb790578ea69fb856e41ffc265f2330a01 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* tst_QQMLTypeLoader: use TestHTTPServer::url() instead of ::urlString()Ahmad Samir8 days1-2/+2
| | | | | | | | Avoids converting QUrl -> QString -> QUrl. Pick-to: 6.11 Change-Id: I80ddd4b5c7e25679eda4f235fe2a367afd7901f8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* test: Run qquickvectorimage test even on non-developer buildsEskil Abrahamsen Blomfeldt9 days1-3/+1
| | | | | | | | | | The equivalent test is run on Lottie without developer build set, so it should be fine to do this. The condition here was just cargo culted from other CMakeLists and is not needed. Pick-to: 6.10 6.11 Change-Id: Ib05c586b6ca8481eee312afbae7f003f51a389ce Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
* Stabilize tst_QQuickContextMenu::iOS::textControlsMenuKeyShawn Rutledge9 days1-2/+2
| | | | | | | | | | Avoid positioning items at fractional positions and then testing with a QContextMenuEvent at 0, 0 relative to the item: it may be outside the item by a fraction of a pixel and fail to "hit" during delivery. Pick-to: 6.11 Change-Id: I0f1f98a7ae88a23356026d2c6c7eeb4bf2a72a92 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Port Q_{ENUMS,FLAGS} to Q_{ENUM,FLAG}Ahmad Samir9 days5-28/+35
| | | | | | | | | | | | | | | | | | Q_{ENUM,FLAG} does what Q_{ENUMS,FLAGS} did plus declaring two friend functions, so the behavior should be the same. For enums that are declared as flags (with Q_DECLARE_FLAGS(Es, E)), use Q_FLAG(Es) which will register each enum value with the meta-object system. Q_FLAGS usage in tests/auto/qml/qmlcppcodegen/data/enumproblems.h is testing Q_FLAGS itself. Q_ENUMS/Q_FLAGS have been deprecated since at least Qt 6. Pick-to: 6.11 6.10 6.8 6.5 Change-Id: Id21b6e3205a786b3a5fa04bd09dfee2a6c1c2a86 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* tst_qmltyperegistrar: Fix metaObjectHash regular expressionUlf Hermann9 days1-1/+2
| | | | | | | | | We've added a version to the hash. Fixes: QTBUG-142529 Pick-to: 6.11 Change-Id: Idba7608708db938c3cf958e98bb6ea0ea3bd7bdc Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
* Update default values for {Ellipse,Star,Rectangle,RegularPolygon}ShapeAlexey Zerkin11 days4-8/+11
| | | | | | | | | Set the same width, height, fillColor, strokeColor and strokeWidth values for rectangle, star, ellipse and regular polygon shapes Task-number: QTBUG-142450 Change-Id: I1920d22e80944ee4f220b927b4c1fcbbe2bb077a Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* qmlls: use resource files from CMake for the DOMSami Shalayel12 days5-6/+65
| | | | | | | | | | | | We can use the resource files from the .qmlls.build.ini also when constructing the DOM, instead of iterating over the build and import folders. Fix and rename a test in tst_qmldomitem. Task-number: QTBUG-141707 Change-Id: I9dcbd4cd307aba251e5de1d8c00c97b22dd87eb4 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* qmlls: read resource files from .qmlls.build.ini filesSami Shalayel12 days1-2/+10
| | | | | | | | | | | | | | | | | We can't find resource files by iterating on the build folder without causing QTBUG-141707, therefore implement reading resource files from the .qmlls.build.ini files. A later commit will make CMake add the resource file information in the generated .qmlls.build.ini files. A separate commit will take care of usages of resourceFilesFromBuildFolders() in the dom. Keep a fallback for projects without resource files, for example projects targeting qt < 6.11. Task-number: QTBUG-141707 Change-Id: I279d193aa6a2849526c2f56c6a40e83492050f74 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* qmlls: don't use build directories as import pathsSami Shalayel12 days2-58/+82
| | | | | | | | | | | | | | | | | | | | Don't mix build and import paths in qmlls. Use build paths for build path operation (finding .qmlls.build.ini, eventually resource files, CMake invocations, ...) and the import paths for imports (when linting and constructing the DOM). Only use build paths as import paths as a fallback, for projects running on Qt < 6.10. It turns out that our tests were making heavy use of "build folders are import paths". Modernize the tst_qmlls_modules tests to write a .qmlls.build.ini file in the build folder which contains the import paths. Also don't read the import path twice from the qmlls.build.ini file, and read it from the QQmlCodeModelManager, not the QQmlCodeModel. Add a test for importPathsForFileUrl() that used to duplicate the import paths. Task-number: QTBUG-141707 Change-Id: I9eceb743bf37bc0f743954a0e7b1e5831f1989fa Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* tst_qmlls_modules: dont segfault on test failureSami Shalayel12 days1-0/+5
| | | | | | | | Fix the cleanup method to disconnect the signals in m_server, otherwise m_server might use an outdated m_protocol in a later test case. Change-Id: I4ae3b02bc0ed5cae585dc637c037e56bc4976adf Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QtQml: Invalidate fallback lookups after each call from AOT codeUlf Hermann12 days4-0/+91
| | | | | | | | | | Fallback property lookups are created for completely dynamic metaobjects. Anything about them may change between any two calls. Pick-to: 6.10 6.8 6.5 Fixes: QTBUG-142331 Change-Id: Ib732c37a6f27ab8105bea0eeae000af7eb9c36d7 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* QML: Pipe objects' metaObjectHash to qqmljsscope through the qmltypesOlivier De Cannière12 days2-0/+31
| | | | | | | | | | It gets added to the json output of moc for every object. Include it in the object's qmltypes representation too and add it to the corresponding qqmljsscope when parsing them. Task-number: QTBUG-142186 Change-Id: Id551a4edb1284018dee8d9afbe3b7189660478b8 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* tst_qqmlpropertycache: Adapt to metaobject layout changeOlivier De Cannière12 days1-3/+11
| | | | | | | | | | | | | It now stores one additional string relative to before, namely the class def's content hash. And the header has increased by 1 to store that string's index into the string table. Also, keep handling revision 13 temporarily to allow for a smoother transition and remove that version asap. Task-number: QTBUG-142186 Change-Id: I2b190f3a4b6bdd9cd95ac00b65359957860c8187 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QQmlPropertyCache expand Override Semantics. QML pathDmitrii Akshintsev13 days3-2/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This path focuses on the actual expansion of Override Semantics with regard to newly added virtual and override keywords. Since Override Semantics is central to the way PropertyCache is being populated, expanding it requires additional care. To ensure smooth and reliable iteration, this patch isolates data-flows: within this patch adding properties from MetaObject stay "unaffected" by the expansion, as well as the paths adding Methods and Signals from the IR. This is done with the help of 3 things: 1. Separating logging logic from the Override logic 2. Extracting Override Semantics into it's own namespace 3. Adding a nob to control the set of rules To facilitate and separate testing of the logging logic and override semantics, the principle of dependency injection is being used, allowing us to easily Fake handling of override semantics, simplifying testing of PropertyCache::appendPropertyAttr Logging logic (messages) is kept on the side of QQmlPropertyCache mostly because this entity logically has more context to do proper logging. Taking into account how the class name and name of the property are handled, those are kept to be "requested on demand", a.k.a. query them only in cases when the logging indeed needs to be performed. Multiple append* methods have been moved to the private section to avoid invalidation of caches. See comment above QQmlPropertyCache. As a workaround to enable unit-testing of some methods, tst_qqmlpropertycache has been added as a friend class. This patch updates tests/auto/quick/qquicklistview/data/negativeDisplayMargin.qml to remove an unintended override of ListView’s built-in count property. The test declared its own count property, which implicitly shadowed ListView.count. The newly introduced validation correctly flagged this conflict, so the test has been adjusted accordingly. Change-Id: I809e58e421fa50f5ee7f21b31edbf926ad472736 Task-number: QTBUG-98320 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* tests: Suppress QJSValue::isVariant() deprecation warningsLu YaNing13 days1-0/+3
| | | | | | | | | | | | | | | | Add QT_WARNING_DISABLE_DEPRECATED around the newVariant() test function to suppress deprecation warnings for QJSValue::isVariant() which was deprecated in Qt 6.9. The isVariant() method returns rather unexpected results and is only true in very limited cases. While the test still validates the API behavior, the deprecation warnings are suppressed to keep the build clean. Amends eaad950651c237708c26f3931963c633077ace01 Change-Id: I7b27375fa2c6f6a77aed43cfc4d752db5395824a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Add test for menu navigation, when using popup windowsOliver Eftevaag13 days2-0/+210
| | | | | | | | | | | | | | | | Keyboard navigation between the MenuBar, MenuBarItems, Menus and MenuItems broke, when we introduced popup windows. Since then, we've added various patches (e.g. 2393c588bc9a5368c013952a4fb195c5b4017543) to gradually fix key event handling. Add a test, to verify that menubar navigation now works. Task-number: QTBUG-121363 Pick-to: 6.8 Change-Id: I64d720a07fc300040ce1670082f9628befb73f5b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Replace QSequentialIterable with QMetaSequence::IterableUlf Hermann13 days2-7/+7
| | | | | | | | QSequentialIterable is deprecated. Task-number: QTBUG-140181 Change-Id: I797c18fa5c319e5c1a0114448d98a38aad33ae04 Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
* qmlls: use 1 job for background buildsSami Shalayel13 days1-0/+32
| | | | | | | | | | | | | | | Control the numbers of jobs to be used in Qmlls in background builds via the "-j" argument of CMake. Set the default to 1: a background build should not eat up all the CPU/RAM available of the users computer. [ChangeLog][qmlls] The number of CMake jobs can be set with a command line option, an environment variables, and a .ini setting option. The default was changed from using all available cores to 1. You can restore the previous behavior by passing "max" as number of CMake jobs. Task-number: QTBUG-142352 Change-Id: Icc8573906632272773c0a2812febbf06aa6b3079 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: write qrc file paths to .qmlls.build.iniSami Shalayel13 days9-13/+123
| | | | | | | | | | Write qrc file paths to the .qmlls.build.ini. This ensures that qmlls doesn't pick up other modules .qrc files to avoid situations like QTBUG-141707. Fixes: QTBUG-141707 Change-Id: I4ea6756af7b12bf00e2f3f3338c0d5bfd792dc77 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* tst_qmlls_qqmlcodemodel: silence import path warningsSami Shalayel13 days2-5/+12
| | | | | | | | Add missing import paths where needed to silence all the import path warnings from tst_qmlls_qqmlcodemodel. Change-Id: Ia667a381ca01c8b1dc32387e1b1e5bb633ef54e6 Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
* QQmlCodeModel: avoid calling methods in wrong threadSami Shalayel13 days1-3/+10
| | | | | | | | | | | | | | | | | | | | Add some asserts to avoid calling methods from the wrong thread (this only seems to happen in the tst_qmlls_qqmlcodemodel tests, not in qmlls itself). Also make the methods private to avoid this from happening again. Adapt the tests to call the right methods, and to wait for the QQmlCodeModel file loading thread to finish (by waiting on the newly added openUpdateThreadFinished signal). This fixes the flakines from tst_qmlls_qqmlcodemodel reloadLotsOfFiles, where a data race, caused by the test calling one of QQmlCodeModels function in the wrong thread, was making the test flaky. Pick-to: 6.10 Fixes: QTBUG-142264 Change-Id: I6d6b89674344f271e94e6e558a34dd6900cfe703 Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
* QQmlPropertyData add doesOverride and isVirtual flagsDmitrii Akshintsev13 days1-0/+22
| | | | | | | | | | | | Currently Override semantics evaluation is based on the flags of QQmlPropertyData. Therefore adding this flags is necessary. On a bigger picture this patch focuses on the data flow from the IR to QQmlPropertyData (property cache) Change-Id: I206ee46a075675e37c35e4c72c74c68e132d2ef2 Task-number: QTBUG-98320 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Qml IR: add support for virtual and override keywordsDmitrii Akshintsev13 days5-60/+112
| | | | | | | | | | | | | | | This patch adds two new fields, IsVirtual and IsOverride, to CompiledData::Property. These fields will later be used to populate QQmlPropertyData and to handle property override semantics. At a high level, this change focuses on the data flow from the AST to the IR, laying the groundwork for future semantic resolution. Also moves test helper Syntax namespace to the quicktestutils Task-number: QTBUG-98320 Change-Id: Ic2a2e28df08d53c8752c49304bd5f7ff46916d08 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* qmlls: add completion for virtual and overrideDmitrii Akshintsev13 days2-7/+75
| | | | | | | | This patch adds support for the completions of newly introduced keywords and corresponding valid combinations. Change-Id: I9c3b008405ac4fd45d7393013838df0813426358 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* semantic highlight: support virtual and override keywordsDmitrii Akshintsev13 days2-0/+24
| | | | | | | | | This patch introduces corresponding QmlVirtualProperty and QmlOverrideProperty modifiers and expands the highlight of the PropertyDefinition Task-number: QTBUG-98320 Change-Id: If1cd98b9958ed3be5fd67e02abb71ca6fa68da6b Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
* qmlformat: add support for virtual and override keywordsDmitrii Akshintsev13 days4-0/+117
| | | | | | | | | | | | | | | | | | | This patch adds corresponding - VirtualKeywordRegion and OverrideKeywordRegion - isVirtual and isOverride members to Dom::PropertyDefinition adjusts the corresponding PropertyDefinition::writeOut method and introduces a test for the PropertyDefinition structure, currently covering / focusing only on the functionality relevant to the scope of this patch Note: maybe it is a good idea from now on to use newly added tests/auto/qmldom/elements directory for the tests covering qqmldomelements_p.h Task-number: QTBUG-98320 Change-Id: Ifac60d3e52900605778afaf3819a9af46c97954a Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* Add support for feMergeEskil Abrahamsen Blomfeldt13 days4-24/+45
| | | | | | | | We support merging up to 8 effects for now. Task-number: QTBUG-121541 Change-Id: Ic60400f054700e4ff44452870770b2175834dd85 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* VectorImage: Post processing effect chainingEskil Abrahamsen Blomfeldt13 days3-4/+266
| | | | | | | | | | This introduces chaining post-processing effects, and the feComposite and feBlend nodes to allow compositing these. Task-number: QTBUG-121541 Change-Id: Ib2aa99139869814a575a2bf9d9e6319b31828285 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
* VectorImage: Add support for more filtersEskil Abrahamsen Blomfeldt13 days6-0/+394
| | | | | | | | | | | | | | | | | | This adds support for the feColorMatrix, feOffset and feFlood filters. We also need to change how we calculate the bounds of post-processed items to use the internal bounds. Basically, we need the bounds of the children of the item + the item itself before the node's transform is applied. This is because the bounding box is axis aligned, so we cannot get the original rectangle back just by applying the inverse transform in the case of e.g. rotations. Task-number: QTBUG-121541 Change-Id: I7a8863bef4397df4043c854256dca312b91f888a Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
* QtQml: Sharpen tst_QQuickEventReplay::receiveEvent()Ulf Hermann13 days1-1/+9
| | | | | | | | | | Properly clear the event receiver whenever a new profiler client is attached to it and check for the exact number of expected events to avoid analyzing partial results. Task-number: QTBUG-142361 Change-Id: Iec12e2ae6dccaa100dcd3c92a17ba2c02e70eb2c Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* Add RegularPolygonShape to QtQuick.ShapesAlexey Zerkin13 days5-0/+289
| | | | | | | | [ChangeLog][QtQuick.Shapes.DesignHelpers] Added RegularPolygonShape Fixes: QTBUG-141530 Change-Id: Ifc1b9d54cb89f90d8032e44e269e6207c4e2d87f Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* Add StarShape to QtQuick.ShapesAlexey Zerkin13 days6-0/+307
| | | | | | | | [ChangeLog][QtQuick.Shapes.DesignHelpers] Added StarShape. Fixes: QTBUG-141531 Change-Id: Ifcce36d3bbac7f59612c3d056e8bcbbcea034137 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* Qt Quick Controls: add DoubleSpinBoxXavier BESSON14 days3-0/+902
| | | | | | | | [ChangeLog][Controls] Added DoubleSpinBox. Fixes: QTBUG-67349 Change-Id: Icb2f02162825daf74778de725f80af63874a5d16 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Don't build benchmark using language server if the package isn't foundVolker Hilsheimer14 days1-0/+6
| | | | | | | | | | | This happens in toplevel builds that don't include the qtlanguageserver submodule. Amends 22f5c97a5c21dfb809d78bbf2db43ba3247b413a. Task-number: QTBUG-140645 Change-Id: I93cba50775fe637f3bb80b250a800bdfeec04195 Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
* tst_qquick{border,}image: remove a couple of redundant ternariesAhmad Samir2025-12-032-3/+3
| | | | | | | | Just compare with QUrl. If `remote` is true, `source` (a QString) will be implicitly converted to QUrl anyway. Change-Id: I38bd0aa5229a025351f00ed6b3766b2ff3f39dad Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QQuickRectangleShape doesn't update on size changesAlexey Zerkin2025-12-032-0/+15
| | | | | | | | | | Update rectangle's shape whenever size has changed Task-number: QTBUG-142203 Pick-to: 6.10 Change-Id: I4495c0ffb90b781329c0e3f322b9a141d3c04bd6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* qmlls: add highlighting benchmarkSemih Yavuz2025-12-023-0/+115
| | | | | | | | | | | According to benchmarks, shifting highlights performs quite well.. For example,to construct highlighting tiger.qml takes around 33secs on my machine, whereas shifting highlights takes only around 60msec. Task-number: QTBUG-140645 Change-Id: Ie68ad7b70a68033a40bf52b7a0d1137efae97b39 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* VectorImage: Implement support for gaussian blurEskil Abrahamsen Blomfeldt2025-12-024-0/+190
| | | | | | | | | | | | | | | | | This introduces support for the gaussian blur filter using the MultiEffect as an approximation. The approximation is not going to look perfect, but will perform better than doing an actual gaussian blur on the contents. Since the objective here is runtime performance, this is a reasonable trade-off. In order to make this work correctly with masks, we also refactor the mask code and now use ShaderEffectSources instead of layers in order to have full control. Task-number: QTBUG-121541 Change-Id: Idb1574a2f4d03311ab787fb4a6476b6c604c88b2 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* shift highlights: adapt lsp highlighting request to shiftingSemih Yavuz2025-12-0114-24/+362
| | | | | | | | | | | Implement Utils::shiftHighlights to apply diffs to cached highlights. Fallback to shifted highlights when DOM is invalid to avoid recompute. Refactor handlers to use shifted tokens and update result IDs and cache. Add unit tests and invalid fixtures covering deletions and partial edits. Task-number: QTBUG-140645 Change-Id: Ic230af0e3d995e85959beee3dfa37a987843c119 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>