aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/controls/basic
Commit message (Collapse)AuthorAgeFilesLines
* Android: enable qt quick tests after crash fixAssam Boudjelthia2025-09-051-0/+37
| | | | | | | | | | | | | | | | | | After the deadlock fix in QTBUG-139211, these can be enabled again since they were crashing for the same reason. The enables tst_controls and tst_focus. At the same time blacklist few test cases that still fail, doing this is still beneficial because get more test coverage anyways from re-enabling the skipped tests. Fixes: QTBUG-100259 Fixes: QTBUG-100258 Task-number: QTBUG-139415 Pick-to: 6.10 Change-Id: Id5b0a0e0870dd89bf4bc376b1b705ebeaa1b6ea0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Don't enable ASM languageJoerg Bornemann2025-05-021-1/+1
| | | | | | | | Remove the ASM language where no assembler files are used. Pick-to: 6.5 6.8 6.9 Change-Id: I3c94f798803b054a432fc2c8d6d65c665572a202 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix QuickControls2 QML tests test to pass in a static buildAlexandru Croitor2025-03-131-1/+8
| | | | | | | | | | | | | | | The tst_basic test was failing when building against a static Qt build because the QML import scanner was not able to find the QML files that are outside the current source directory. Fix it by adding the test's data directory to the QT_QML_IMPORT_SCANNER_EXTRA_ROOT_PATHS property. Pick-to: 6.8 6.9 Fixes: QTBUG-131813 Change-Id: If52375708b17e249fb2998ec8f92169f267e1980 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Blacklist ToolTip::test_attachedSizeBug for all stylesShawn Rutledge2024-12-161-0/+5
| | | | | | | | | It seems that it's not style-specific. Blacklist it to unblock integrations until a fix can be found. Task-number: QTBUG-101704 Change-Id: I3458e209a9bad98b72eb2ad6457b04cdce0e6c56 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix shader warnings in ComboBox::test_comboBoxWithShaderEffectMitch Curtis2024-08-141-0/+3
| | | | | | | | | Use the build system to generate the qsb file. Fixes: QTBUG-125580 Pick-to: 6.5 6.7 6.8 Change-Id: Iefc910356a931109b9c4b60eda1ca145bc3c5079 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Blacklist tst_controls::Basic::Action::test_repeaterUlf Hermann2024-06-131-0/+5
| | | | | | Task-number: QTBUG-126236 Change-Id: I4084247249d7f47fce3c0116b0a300c5618c15fe Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Menu, MenuBar: remove requestNative and rely solely on app attributesMitch Curtis2024-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | It was decided that we'll have two attributes: - AA_DontUseNativeMenuBar - AA_DontUseNativeMenuWindows Setting AA_DontUseNativeMenuWindows only affects windows we create (context menus, combobox menus, menus of non-native menu bars). So, setting AA_DontUseNativeMenuWindows restores Qt to today's behavior. But we can't control the windows of native menu bars, so if you don't want those to be native, you have to set AA_DontUseNativeMenuBar just like today. By removing requestNative, we also effectively default to native menus and menu bars, as the attributes are not set by default. [ChangeLog][Controls][Important Behavior Changes] Menu and MenuBar now use native menus by default on platforms where they're supported. Task-number: QTBUG-69558 Change-Id: Ia917c2f820634def0cf815aa8ca8895ca79db75d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Correct license for test filesLucie Gérard2024-02-271-1/+1
| | | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: Make quickcontrols tests standalone projectsAlexandru Croitor2023-07-051-1/+1
| | | | | | | | | | | | | | | | | Add the boilerplate standalone test prelude to each test, so that they can be opened with an IDE without the qt-cmake-standalone-test script, but directly with qt-cmake or cmake. Boilerplate was added using the follow script: https://git.qt.io/alcroito/cmake_refactor Manual adjustments were made where the code was inserted in the wrong location. Task-number: QTBUG-93020 Change-Id: I1dff995ec69c65494a9f8daff3c8b2fbe5b507b2 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Retire the qt_parse_all_argumentsAmir Masoud Abdol2023-01-201-1/+1
| | | | | | Task-number: QTBUG-99238 Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-015-0/+91
Qt Quick Controls 2 was named that way because it was a follow-up to Qt Quick Controls 1.x. Now that Qt Quick Controls 1 is no longer supported, we don't need to have "2" in the name. Work on this was already started for the documentation in 1abdfe5d5a052f2298b7bf657513dfa7e0c66a56. By doing this renaming a few weeks before feature freeze, it won't affect the release but still results in as little time possible spent manually fixing conflicts in cherry-picks from non-LTS releases as a result of the renaming. This patch does the following: - Renames directories. - Adapts CMakeLists.txt and other files to account for the new paths. A follow-up patch will handle documentation. It does not touch library names or other user-facing stuff, as that will have to be done in Qt 7. Task-number: QTBUG-95413 Change-Id: I170d8db19033ee71e495ff0c5c1a517a41ed7634 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>