Commit Graph

8 Commits

Author SHA1 Message Date
Mitch Curtis cde11110f3 Fix shader warnings in ComboBox::test_comboBoxWithShaderEffect
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>
2024-08-14 08:46:53 +08:00
Mitch Curtis 822db20f84 Menu, MenuBar: remove requestNative and rely solely on app attributes
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>
2024-04-17 15:05:01 +08:00
Lucie Gérard 9c5fc88388 Correct license for test files
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>
2024-02-27 10:32:21 +01:00
Alexandru Croitor 1858e6c7b1 CMake: Make quickcontrols tests standalone projects
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>
2023-07-05 12:34:12 +02:00
Doris Verria cf0c6459d8 iOS Style: Update uses of renamed Qt.styleHints.colorScheme property
Property was renamed in 32749c913b32e89e2027227233794f2296166cc6.
Update some uses of old name.

Unblacklist tests that were blacklisted as a result of this.

Fixes: QTBUG-111199
Fixes: QTBUG-111210
Pick-to: 6.5
Change-Id: I868382dec8951abb5e708805795b31f6b2144ff1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-02-16 17:32:48 +00:00
Doris Verria 16cd289649 tst_selectionrectangle: BLACKLIST test cases until further investigation
Task-number: QTBUG-111199
Pick-to: 6.5
Change-Id: If6a22375cc0e9c9c1f0b2373c92001752bdc700c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-02-16 13:44:56 +01:00
Amir Masoud Abdol c2d37f9646 Retire the qt_parse_all_arguments
Task-number: QTBUG-99238
Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-01-20 16:40:42 +01:00
Mitch Curtis 4bd87b903b Remove "2" from Qt Quick Controls directories
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
1abdfe5d5a.

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>
2022-12-01 10:26:20 +08:00