77de4a9bb4
Amends 2b2e7b2ac5
, which rewrote the
rendering to remove the conflation of menu arrows and arrow icons, but
introduced double rendering of the arrow icons if only the border was
styled.
Add a baseline test for style sheets, with a test function for
QToolButton configured in various ways and styled with different style
sheets.
The new test case includes a Qt 5 build system so that we can compare Qt
5.15 with Qt 6.
Fixes: QTBUG-98286
Pick-to: 6.2 6.2.2
Change-Id: I09cdc829c1a7e7913df4c3768dbe44b6dba4778b
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
8 lines
179 B
CMake
8 lines
179 B
CMake
if(TARGET Qt::Network)
|
|
add_subdirectory(painting)
|
|
endif()
|
|
if(TARGET Qt::Network AND TARGET Qt::Widgets)
|
|
add_subdirectory(widgets)
|
|
add_subdirectory(stylesheet)
|
|
endif()
|