Remove unnecessary widgets linking from autotests

Unconditional linking breaks build when widgets are disabled.
tst_localfileapi, tst_qwasmwindowstack, and tst_qwasmwindowtreenode
tests link against Qt::Widgets, but does not use them => remove.

Task-number: QTBUG-136101
Pick-to: 6.8
Change-Id: I6d895b5ddd85b3ace98e0e398d034006aee236e0
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit 464e9298e24f3769f0eb776eb443fc7eb98271c0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Juha Vuolle 2025-04-28 10:06:56 +03:00 committed by Qt Cherry-pick Bot
parent 9c63f62767
commit 36dc3a2b2b
3 changed files with 0 additions and 3 deletions

View File

@ -20,5 +20,4 @@ qt_internal_add_test(tst_localfileapi
Qt::GuiPrivate
Qt::Core
Qt::Gui
Qt::Widgets
)

View File

@ -20,5 +20,4 @@ qt_internal_add_test(tst_qwasmwindowstack
Qt::Core
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
)

View File

@ -20,5 +20,4 @@ qt_internal_add_test(tst_qwasmwindowtreenode
Qt::Core
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
)