Linux Provisioning: Turn off window animations for OpenSUSE 15.6

Window animations change the physical geometry in relation to the
geometry known in Qt. Windows may not be found by
QGuiApplication::topLevelAt() as expected.

Turn animations off in Linux provisioning.
(linked to 9cd01ef8570f2a2c7392ac33f94005efc327c3fb)

Task-number: QTBUG-130811
Task-number: QTQAINFRA-6739
Change-Id: I75b2320cde36fe418dfc2d518db74e50072b6204
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
Tero Heikkinen
2024-11-21 14:32:30 +02:00
parent 30d8ac0c2f
commit c3d3868b93

View File

@@ -19,6 +19,8 @@ sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlock
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
echo "Disable window animations."
gsettings set org.gnome.desktop.interface enable-animations false
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
echo "Set DISPLAY"