aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Version string '6.9.0' found in 6.10.0 sourcesInkamari Harjula8 days1-1/+1
| | | | | | | | | Version strings fixed in qtdeclarative. Task-number: QTBUG-135944 Change-Id: If829e0b430532c38300a461351e80e79665756e0 Reviewed-by: Johanna Äijälä <[email protected]> Reviewed-by: Topi Reiniö <[email protected]>
* Tests: include QTest, not QtTestGiuseppe D'Angelo2025-04-155-5/+5
| | | | | | | | | | | | | Never use module-wide inclusions. They blow up build times. For QtTest this is usually just a typo (QTest was meant instead). Add missing includes as needed. In the diffs I've spotted other huge inclusions (QtQuick, QtQml), but those need more attention. Task-number: QTQAINFRA-7110 Pick-to: 6.9 6.8 Change-Id: I74bf3fe212f50a7a3a6af2b1c80bbcaabc2516d7 Reviewed-by: Fabian Kosmale <[email protected]>
* Port away from QPairZhao Yuhang2025-04-122-5/+5
| | | | | | | | QPair is just an alias of std::pair anyway. Task-number: QTBUG-115841 Change-Id: I26fc90adcc775aac9955ad57304af914dc4ed48f Reviewed-by: Ulf Hermann <[email protected]>
* Fix the build with manual tests enabledAlexey Edelev2025-03-241-0/+4
| | | | | | | | | | Add the missing intermediate CMakeLists.txt Ammends 8009825f52d72d03921739af162410491ba8dc58 Fixes: QTBUG-135091 Change-Id: Idde1c8c08d18ef678e1c5a7acf544f5c451f35a5 Reviewed-by: Alexandru Croitor <[email protected]>
* Android: update Qt Quick for Android examples to SDK 35Rami Potinkara2025-03-201-2/+2
| | | | | | | | | | | | This patch updates qtdeclarative examples to use SDK 35 as a target and compile version SDK. Task-number: QTBUG-130285 Task-number: QTBUG-129461 Pick-to: 6.9 6.8 Change-Id: Ie11f8bebff7dfeb4c1a87c07826f9e9ef0f78d4b Reviewed-by: Rami Potinkara <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* Document better how listview snaps its items under its various modesJan Arve Sæther2025-03-061-0/+185
| | | | | | | Also add a manual test Change-Id: I28955a454eeaa8ab52431c85cd99649ccbb667d0 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Move manual test into sub folder of listviewJan Arve Sæther2025-03-063-0/+0
| | | | | Change-Id: I94a9220b27fb9160e2251342ac6f44f7eccf5feb Reviewed-by: Richard Moe Gustavsen <[email protected]>
* QuickControls: Add vertical and horizontal header view delegatesMohammadHossein Qanbari2025-03-061-29/+106
| | | | | | | | | | | | | | | | | | | | | | Implement QQuickHeaderViewDelegate as the base class for header view delegates, introducing 'headerView' and 'orientation' properties. Separate previous delegate settings into HorizontalHeaderViewDelegate and VerticalHeaderViewDelegate components for Basic, Fusion, and Imagine styles. This change improves the modularity and reusability of header view delegates across different styles. It also allows for more consistent behavior and easier customization of header views. A test suite has been added to verify default property settings and ensure the new components work without warnings. [ChangeLog][QtQuickControls][HeaderView] Add dedicated delegate components for vertical and horizontal header views. Task-number: QTBUG-70326 Change-Id: I8831e77f6909bdae13c3a7262145ab156f63a59a Reviewed-by: Mitch Curtis <[email protected]>
* Material: Fix FloatingPlaceholderText X positionBartlomiej Moskal2025-02-282-0/+40
| | | | | | | | | | | | | | | | | | | In cb7eb152204e206539f307a9556eea43c589f026, we stopped using the leftPadding value for FloatingPlaceholderText. As a result, the text is now misaligned with the placeholder. This commit restores the FloatingPlaceholderText X position to leftPadding. If leftPadding is not set, it defaults to Material.textFieldHorizontalPadding. To prevent regressions (such as QTBUG-120149), a new X position animation has been added to FloatingPlaceholderText. Fixes: QTBUG-133492 Pick-to: 6.9 6.8 Change-Id: I5c80dcedd7c2beec0891b524fc55388fa5456f2a Reviewed-by: Mitch Curtis <[email protected]>
* ContextMenu: add to text editing controlsMitch Curtis2025-02-281-29/+0
| | | | | | | | | | | [ChangeLog][Controls] TextField and TextArea now provide a ContextMenu by default. If you already have a custom context menu for these types, ContextMenu will not open its own on e.g. right click. Fixes: QTBUG-35598 Pick-to: 6.9 Change-Id: I0897a7ba5e1b5b6d5425c80cbc6f2550c904605b Reviewed-by: Mitch Curtis <[email protected]>
* vectorimage: Use unhinted font layoutsEskil Abrahamsen Blomfeldt2025-02-272-5/+7
| | | | | | | | | | | | | | | The whole idea of VectorImage is scalable graphics, and a hinted font layout is inherently unscalable, as the glyph positions will be rounded to integers. Therefore, we need to disable hinting on the QFont before creating the layout. This also updates the svg manual test to compile and run again, as it seems to have been broken at some point. Pick-to: 6.8 6.9 Fixes: QTBUG-133852 Change-Id: Idd63a9fcab51c1f077427ea06ad891975ee73386 Reviewed-by: Eirik Aavitsland <[email protected]>
* QQ4A: Fix status change listener in service manual testPetri Virkkunen2025-02-241-15/+24
| | | | | | | | | | | | Due to 76bb559e5fbf2dfaf017f8b4a3435938b4d5f4fa, the QML status change listener is no longer a functional interface, and cannot be represented with a lambda. Replace usage of this interface with a fully formed instance. Fixes: QTBUG-132461 Pick-to: 6.9 Change-Id: Ib456df209189e9657fb65987e7f5b13f19e7b8f5 Reviewed-by: Assam Boudjelthia <[email protected]>
* Make module ready for source SBOM checkingLucie Gérard2025-02-212-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | This includes: - turning VERIFY_SOURCE_SBOM ON - adding rules to the licenseRule.json files - correcting the licensing given via REUSE.toml files - renaming license files not located in LICENSES folder. Their name needs to be prefixed with `LICENSE.` to be ignored by reuse and excluded from the source SBOM. The names are updated in the corresponding qt_attribution.json A lot of files are skipped during the license test, but all are present in the source SBOM. This is why corrections are needed before turning the source SBOM check on. [ChangeLog][Third-Party Code] Renaming the license files with prefix LICENSE. to have them ignored by reuse tool. Task-number: QTBUG-131434 Pick-to: 6.9 6.8 Change-Id: I2b3e4750405f13a97b350ee65def30f1330526a3 Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Refactor corner radius handling with explicit unset stateMagdalena Stojek2025-02-211-2/+2
| | | | | | | | | | Replace the use of -1 to indicate unset corner radii with explicit bitfield flags to track whether each corner radius is set. The default value for unset radii remains 0.0. Fixes: QTBUG-120188 Change-Id: If51a0165386a0c474ecd57ef23310d1c28f0f60b Reviewed-by: Shawn Rutledge <[email protected]>
* Update Gradle versions in QtQ4A examplesOlli Vuolteenaho2025-01-152-2/+2
| | | | | | | | | | | These versions are currently all over the board, and the intention is to have them in line with the Qt for Android requirements (which is Gradle 8.10 and AGP 8.6). Also update the Kotlin plugins while at it. Task-number: QTBUG-132815 Pick-to: 6.9 6.8 Change-Id: I72d8cb15d80b8b69301bbc2bbfeebf779ef137df Reviewed-by: Assam Boudjelthia <[email protected]>
* TreeViewDelegate: hasChildren should be bool, not intRichard Moe Gustavsen2025-01-091-1/+1
| | | | | | | | | The documentation and the manual test declares 'hasChildren' as 'int'. It should be 'bool'. Pick-to: 6.9 6.8 Change-Id: Ied8c66f3758e759b5803cf0e08135555644747b8 Reviewed-by: Matthias Rauter <[email protected]>
* tests: silence cmake warningsTim Blechmann2025-01-022-3/+3
| | | | | | | | | Configuring the project emits cmake warnings about QTP0004 not set. This patch allows configuration without warnings. Pick-to: 6.8 6.9 Change-Id: I51a7fe49769eacf17357fd8227eaca232704af47 Reviewed-by: Ulf Hermann <[email protected]>
* Add ContextMenuMitch Curtis2024-12-241-6/+1
| | | | | | | | | | | | | | | This is an attached type that provides a way to open a context menu in a platform-appropriate manner. [ChangeLog][Controls] Added ContextMenu. ContextMenu can be attached to any item in order to show a context menu upon a platform-specific event, such as a right click or the context menu key. Fixes: QTBUG-67331 Pick-to: 6.9 Change-Id: I225a8f498cc5bc18d36c3dc4cf481ef5ef95cd88 Reviewed-by: Jan Arve Sæther <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]>
* Transform animations for VectorImageEskil Abrahamsen Blomfeldt2024-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This works by first creating a transform object per animated property we have in SVG. Then it creates a set of key frames based on these. All key frames will touch all animations, so that they can also control activating and deactivating an animation, freezing the end result of one, etc. The frames we generate are based on the end points of animations as well as right after (and sometimes right before) the animation to record the state when it is inactive. If any of the animations have infinite repeats, we create a set of key frames for the finite part first and then the infinite loop, so that these are separated into two different animations in QML. At each key frame we check all animations to see if they affect their corresponding transform at this time. If they are inactive, the transform will be set to a default value. But if they are active (either running or frozen), we query the interpolated value from the animator to get the value at the specific time. Pick-to: 6.9 Fixes: QTBUG-127590 Change-Id: I0102cefb3713a0c36661fb3da008b25b19a80427 Reviewed-by: Hatem ElKharashy <[email protected]>
* Add support for partial rendering of geometry nodesStan Morris2024-12-1812-0/+906
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable changing vertex and index counts after calling allocate() so that it is not necessary to re-allocate memory to render a different number of vertices. Previously, it was only possible to change the number of vertices and indices by calling allocate(). Resizing a geometry node with allocate() is expensive: all vertex and index data must be re-initialized and malloc() may need to find another memory block. If there are a large number of vertices or indices, this takes a lot of processor cycles, all during graph sync time while the main thread is blocked. Two new functions, setVertexCount() and setIndexCount(), allow resizing the geometry object without reallocating memory. The user is responsible for ensuring that the requested counts do not exceed the number originally allocated using allocate(). The usage pattern is similar to QList::reserve(): allocate the maximum number of vertices or indices that will be needed and call setVertexCount() or setIndexCount() to set the counts to what is currently needed. Consider the use case of drawing a heart rate monitor graph. The zigzag tracing line of the graph continuously grows longer from left to right, drawing new data without erasing old data until the line reaches the right side of the graph area, then starting over from the left. As the line grows, most data remains unchanged; the only vertices that need modification are ones that are newly exposed by increasing the vertex count. The benchmark "tst_bench_qsggeometry" shows the difference on different processors between resizing via allocate() and setVertexCount(), as in the heart rate graph use case described above. Vertices allocate() setVertexCount() i.MX6 800 MHz 2-17K | 1.7 msecs | 7 μs 20K-37K | 6.0 msecs | 10 μs 40K-57K | 10.1 msecs | 16 μs Intel i5-8265U 3.8Ghz 2-17K | 166 μs | 0.20 μs 20K-37K | 644 μs | 0.44 μs 40K-57K | 1134 μs | 0.85 μs AMD 7945HX 5.5GHz 2-17K | 34 μs | 0.06 μs 20K-37K | 140 μs | 0.09 μs 40K-57K | 244 μs | 0.12 μs The benchmark for allocate() is slow because allocate() calls malloc() and updates all vertices each time the vertex count changes whereas the benchmark for setVertexCount() only calls allocate() once and only updates newly exposed vertices when the vertex count changes. There are manual tests in the "manual/qsggeometry" folder which exercise setVertexCount() and setIndexCount() by drawing a spiral with thousands of vertices. Task-number: QTBUG-126835 Change-Id: I5a0a6c68e3b5a17ffba914f1abb5078601bc4e05 Reviewed-by: Andy Nichols <[email protected]>
* Fix QML generator in svg manual testEskil Abrahamsen Blomfeldt2024-12-171-0/+1
| | | | | | | | | | f65d60815b7b7c8fd8d618693bb0838508b5fca9 introduced the requirement of calling save() on the generator in order to actually store the generated content, but it didn't update the manual test. Pick-to: 6.9 Change-Id: Ie82e314d743eebb51c6f6c65700715870379352c Reviewed-by: Eirik Aavitsland <[email protected]>
* Test: compile fix for manual testsTim Blechmann2024-12-163-29/+1
| | | | | | | | | | | The CMakeLists.txt contains non-existent files. Removing them allows users to configure qt with manual tests enabled. Also removing obsolete qrc and qmldir files Pick-to: 6.8 6.9 Change-Id: I2d236388364642de3b46d34ffcf035e94a6d701f Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* tests: rename windowembedding to windowembedding_testTim Blechmann2024-12-161-10/+10
| | | | | | | | | | A target of the same name can be found in qtdoc/examples/demos. This causes a name clash when the root cmake project is configured with examples and manual tests enabled. Pick-to: 6.8 6.9 Change-Id: I9d461d51b7bd37b8ecba826b2bac250e0b0e5366 Reviewed-by: Ulf Hermann <[email protected]>
* Add Shear transform typeEskil Abrahamsen Blomfeldt2024-12-051-0/+84
| | | | | | | | | | | | | | | | Shearing an item either by given angle or a relative offset is a common operation in vector graphics. We already have types for Rotate, Scale, etc. so this fits into the list there. For cases where you want to animate the angles it can be especially useful to have a transform where these are exposed as properties. [ChangeLog][QtQuick] Added Shear transform types for shearing an item by a factor or angle along the x- and y-axes. Change-Id: I6be81b40ca555a0ac0d8cb14dd81598502238a3d Reviewed-by: Shawn Rutledge <[email protected]>
* TableView Manual Example: Add TableViewDelegate and EnhancementsMohammadHossein Qanbari2024-11-301-4/+91
| | | | | | | | | | | | | | This update provides more testing capabilities for TableView features. - Update example to use TableViewDelegate type - Add toggle delegate between TableViewDelegate and custom item - Implement hide/show functionality for rows and columns - Update deprecated API calls (edit() and modelIndex()) - Add visibility check before cell editing Task-number: QTBUG-114636 Change-Id: I49d776460f4799d0ec787b6fdd53550304daffa3 Reviewed-by: Santhosh Kumar <[email protected]>
* Fix an outdated CMakeLists.txt for a manual testJan Arve Sæther2024-11-291-25/+8
| | | | | Change-Id: I76adb2d102db9e7b87feb7972ad318ff027e305e Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Fix String '6.8.0' found in 6.9.0 sources in qtdeclarativeInkamari Harjula2024-11-121-1/+1
| | | | | | | | Occurrences fixed. Task-number: QTBUG-130833 Change-Id: Ideda05852ce9bbfbce3dfa7bdf7c06155c598f46 Reviewed-by: Mats Honkamaa <[email protected]>
* Fix resizing and moving of a Quick Dialog with popupType = Popup.WindowIvan Solovev2024-11-064-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user moves the Dialog using the mouse, and then tries to resize it (also using the mouse), they will observe two issues: 1. As soon as resizing was started, the dialog jumped to the coodrinate specified by the x and y properties. Depending on the OS, it could jump back after the resizing is finished (Windows), or stay at that position (macOS). 2. If the resizing is started in such a way, that topLeft coordinate is involved, it didn't actually change (apart from jumping as described in point 1), but instead the width and height were changed in an unintuitive way. The first problem is caused by the fact that QQuickPopupPositioner::reposition() method used x and y properties to get the requested position. However, when the dialog is moved using the mouse, only the effective position is updated. The second problem is more involved. When the user starts resizing from the topLeft corner, we end up in QGuiApplicationPrivate::processGeometryChangeEvent(), which registers that both resize and move events have happened. The code processes the resize event first, so here's what happens: 1. The window geometry is updated (we'll use that fact later) 2. The resize event is generated and sent. 2.1. This resize event triggers QQuickPopupWindow::resizeEvent(), which updates the popup item's width and height. 2.2. Each of width and height updates calls geometryChange(), which ends up in QQuickPopup::geometryChange(). That, in turn, calls QQuickPopupPositioner::reposition(). 2.3. The reposition() call changes the position of the popupWindow using the current topLeft value. IIUC, this schedules another system geometry change event to the event loop. 3. After that we're back to QGuiApplicationPrivate, and generate the move event. 3.1. This move event is handled in QQuickPopupWindow::moveEvent(), which simply updates the effective position (without moving anything). 4. After that we handle the move event from the reposition() call (the one that is generated at point 2.3). And here we update the effective position back to the old value. To fix both issues, use the fact that the window's geometry is actually updated at the very beginning (point 1 above), so we already know the new topLeft when handling the resize event. Use this value to temporary update x and y member variables (directly, without touching the properties), before setting the width and height. That means that the reposition() calls will use the proper top-left position to do the positioning. Once we're done, restore the actual x and y values, because they can differ from the effective pos. The fix is sub-optimal, but seems to have the least possible impact on other code (like normal Popup behavior or general geometry updates handling). Writing unit-tests for such case is not really possible, since the testlib does not allow to simulate the interaction with the non-client part of the window, so simply provide a manual test. Fixes: QTBUG-130623 Pick-to: 6.8 Change-Id: I8209c8a648d95f3b83ae15a77b48bf04eeb1c154 Reviewed-by: Oliver Eftevaag <[email protected]>
* Android: remove packagingOptions.jniLibs.useLegacyPackaging propertyAssam Boudjelthia2024-10-311-5/+2
| | | | | | | This is not needed after 0db5b424cdaede8724886e8a1eda1380382d9aaf. Change-Id: Ic5fc2bccf260cfdc159212324fb066d9137753c0 Reviewed-by: Petri Virkkunen <[email protected]>
* Tweak svg manual testHatem ElKharashy2024-10-282-8/+11
| | | | | | | | | The svg manual test uses either QWidget or QSvgWidget. When used with QWidget, the renderer repaintNeeded signal should be connected to update to render an svg file with animations correctly. Change-Id: Ia9c14b8dd329315bd28d4e882f4305530a3994bb Reviewed-by: Eirik Aavitsland <[email protected]>
* Fix tooltips in the svg manual test; use CurveRendererShawn Rutledge2024-10-112-2/+3
| | | | | | | Tooltips didn't match the headings. But the headings seem to be right. Change-Id: Ib75818324e5a7ddde69419187e5fd5dcbbab06b9 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
* testbench: default Material and Universal to System themeMitch Curtis2024-09-182-0/+6
| | | | | | | | | This helps test out the runtime system theme switching. Pick-to: 6.8 Change-Id: I02a40f2625a1afce634c7676bd94a78a052dced0 Reviewed-by: Santhosh Kumar <[email protected]> Reviewed-by: Doris Verria <[email protected]>
* Android: Update QML in Android service test to use multiple viewsPetri Virkkunen2024-09-116-161/+354
| | | | | | | | | | | | | | | Adds a second QML view and modify the Android UI to provide controls for the second QML view. Modifies service QML loading code to load the second QML view in a second QtQuickView, and link controls together. Modifies QML views to fit content on half a screen, by removing unneeded text. Task-number: QTBUG-128552 Change-Id: I10f2897ba2fa8b2bd29fbca28e63df08d290a201 Reviewed-by: Assam Boudjelthia <[email protected]>
* Android: Replace Qt snapshot maven, with release maven repoSoheil Armin2024-09-102-4/+1
| | | | | | | | | | | | | | This change replaces the 0.1 SNAPSHOT versions with 1.+ version which means 1.0 and above. We should also remove Qt maven repository URL so the plugin can be fetched from mavenCentral. Task-number: QTBUG-128417 Pick-to: 6.8 Change-Id: Id1006b64f6bf3f0d13d03a4f26b441236aa77cc7 Reviewed-by: Assam Boudjelthia <[email protected]> Reviewed-by: Rami Potinkara <[email protected]>
* Android: Update QML in Android service manual test to use new APIPetri Virkkunen2024-09-061-4/+4
| | | | | | | | | | QtQuickViewComponent was renamed to QtQuickViewContent, along with that loadComponent was renamed to loadContent. Pick-to: 6.8 Fixes: QTBUG-128611 Change-Id: I9ca5d58edf5d1d14ea2d014fd94d01e5e07ca106 Reviewed-by: Assam Boudjelthia <[email protected]>
* Minor improvements for QuickShapes manual testEirik Aavitsland2024-08-242-1/+11
| | | | | | | | - Add gui option to enable Shape's asynchronous property - Make the zoom range more reasonable Change-Id: I0265da6a554f5e47e286fd47e1c19e3d22ba2945 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
* Correct license in test directoryLucie Gérard2024-08-123-3/+3
| | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only and all build system should be BSD-3-Clause. [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.8 Task-number: QTBUG-121787 Change-Id: I9da6b82b6d620e72d5c6700e3d5901f9049f89e9 Reviewed-by: Santhosh Kumar <[email protected]>
* Fix warnings in ListView delegate width bindings in manual testsMitch Curtis2024-08-126-6/+6
| | | | | | | | Bind width to the ListView's width, not the parent, which may be null. Pick-to: 6.5 6.7 6.8 Change-Id: I020d23bb0c98b3da00db9ffd3400a89cfdeb1810 Reviewed-by: Doris Verria <[email protected]>
* Fix assertion failure in screenshots manual testMitch Curtis2024-08-121-1/+1
| | | | | | | | | SNIPPETS_DIR needs to be updated after the merge of qtquickcontrols2 into qtdeclarative. Pick-to: 6.5 6.7 6.8 Change-Id: Ic2ceabd34b35a64868e6b7e261dca19b46c7f195 Reviewed-by: Doris Verria <[email protected]>
* FluentWinUI3 Style: Add documentationDoris Verria2024-08-091-0/+3
| | | | | | | Task-number: QTBUG-125748 Pick-to: 6.8 Change-Id: Iaeedd4044c686d1dce4ef611a4cf9a7ea8060f83 Reviewed-by: Mitch Curtis <[email protected]>
* Improve Service Embedding manual testOlli Vuolteenaho2024-08-013-5/+1
| | | | | | | | | - There is no need for QtGP to be a dependency, only a plugin - Fix README.md path use as per QtGP changes Pick-to: 6.8 Change-Id: Ic3fe358d80f75ebe5c90d003e192c9ac11eb55b2 Reviewed-by: Tinja Paavoseppä <[email protected]>
* Android: Rename QtQuickView Java and Kotlin examplesRami Potinkara2024-07-2918-13/+13
| | | | | | | | | | | | | | | Renamed qml_in_.. starting folders to qtquickview starting ones. After the change this example follows a similar logic as other declarative/examples/platform/android examples. The change also shortened the path to address the Windows path limitation of 260 characters. Updated also documentation and manual tests. Fixes: QTBUG-127067 Pick-to: 6.8 Change-Id: Ie564630e0f924d0b0694bf7c9d47931eab00b422 Reviewed-by: Nicholas Bennett <[email protected]> Reviewed-by: Tinja Paavoseppä <[email protected]>
* Android: QML Embedding in Service manual test QML module name changePetri Virkkunen2024-07-222-3/+2
| | | | | | | | | | Androiddeployqt no longer allows us to have the QML module URI match the target name. Changed QML module URI. Fixes: QTBUG-127379 Pick-to: 6.8 Change-Id: I2a20d4b8cce380c5f668e06188a4968fe300064d Reviewed-by: Tinja Paavoseppä <[email protected]>
* Manual test for testing default size policiesJan Arve Sæther2024-07-193-0/+140
| | | | | | | Task-number: QTBUG-117597 Pick-to: 6.8 Change-Id: Iced1b081bcb45a4c4e4c00f7cce2e979a42fefce Reviewed-by: Santhosh Kumar <[email protected]>
* testbench: don't use native menus or menubarsRichard Moe Gustavsen2024-07-042-0/+6
| | | | | | | | | | | | The purpose of the tool is to show the styled controls. So don't use native menus or menubars. Also, since the menubar will warn (since Qt 6.8) if you add a MenuBarItem to a MenuBar without a Menu, give each MenuBarItem a dummy menu. Pick-to: 6.8 Change-Id: I51972deea0308e7c994460ab4c6cca4fa9b5a9ab Reviewed-by: Doris Verria <[email protected]>
* QQuickMenu: respect Qt::AA_DontUseNativeMenuWindowsRichard Moe Gustavsen2024-07-033-0/+29
| | | | | | | | | | Now that we enable native menus by default for the macOS style, we also need to make sure that we actually respect the Qt::AA_DontUseNativeMenuWindows. Pick-to: 6.8 Change-Id: I2a02b5528110a4e0514fb53c0673653f0086dfe8 Reviewed-by: Mitch Curtis <[email protected]>
* Reflect some old refactoring changes in qmldomloadeditwriteDmitrii Akshintsev2024-07-031-2/+9
| | | | | | | | After some the of DOM refactorings, this file apparently was left out. Fixing this now Change-Id: Ic1b9d147518e50d8b16be88a55ff2417c558a910 Reviewed-by: Ulf Hermann <[email protected]>
* WindowContainer: Handle item scale set as initial propertyTor Arne Vestbø2024-07-011-1/+1
| | | | | | Pick-to: 6.7 6.8 Change-Id: Ib39d1e79929247ac00e0855e9abab1bab7478e39 Reviewed-by: Fabian Kosmale <[email protected]>
* Correct license for tests fileLucie Gérard2024-06-277-7/+7
| | | | | | | | | | | | According to QUIP-18 [1], all tests file should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.8 Task-number: QTBUG-121787 Change-Id: I50964da74d6360bb88fc468765f6362ad39d20d1 Reviewed-by: Ulf Hermann <[email protected]>
* Correct license for build system fileLucie Gérard2024-06-271-1/+1
| | | | | | | | | | | | | According to QUIP-18 [1], all tests file should be BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.8 Task-number: QTBUG-121787 Change-Id: I399eae0fa236949e1b3a6596a5bbaf6c88c4c6d2 Reviewed-by: Petri Virkkunen <[email protected]> Reviewed-by: Kai Köhne <[email protected]>