shift-shell/tests
Marco Allegretti 8dd3bfbb07 tools: install local preview QML stubs
openSUSE Tumbleweed's plasma6-nm 6.6.4 does not ship the org.kde.plasma.networkmanagement.cellular QML submodule that SignalStrengthInfo.qml imports unconditionally. Without it the MobileShell QML namespace fails to load and preview boots to a black screen.

Keep a minimal fallback module under tools/preview-stubs and install it only for local .prefix preview installs by default, with SHIFT_INSTALL_PREVIEW_QML_STUBS=AUTO/ON/OFF for explicit control. Add a CTest guard so qmldir entries stay backed by real files and the fallback remains tied to the QML import tree.
2026-05-19 09:18:46 +02:00
..
assets tests: Fix license 2022-06-06 21:29:28 -04:00
notificationtest notifications: Implement popup notifications 2024-11-07 16:13:06 +00:00
ActionDrawerTest.qml Remove kirigami version in imports 2026-03-06 22:08:07 -05:00
check-convergence-dock-invariant.sh Unify convergence dock geometry and add invariant test 2026-05-04 11:43:41 +02:00
check-preview-qml-stubs.sh tools: install local preview QML stubs 2026-05-19 09:18:46 +02:00
check-shift-containment-metadata.sh Brand containment metadata as SHIFT 2026-05-17 16:27:48 +02:00
check-shift-icon-theme.sh quicksettings: request -symbolic icons for masked tiles 2026-05-19 09:18:46 +02:00
check-shift-initialstart-metadata.sh Brand initial setup module metadata as SHIFT 2026-05-17 15:54:55 +02:00
check-shift-product-metadata.sh Brand product metadata as SHIFT 2026-05-17 15:44:56 +02:00
check-shift-quicksettings-metadata.sh Brand quick settings metadata as SHIFT 2026-05-17 16:09:52 +02:00
check-shift-settings-daemon-metadata.sh Brand KCM and KDED metadata as SHIFT 2026-05-17 16:31:45 +02:00
check-shift-theme-identity.sh Guard explicit Breeze QQC2 fallback 2026-05-19 09:18:46 +02:00
CMakeLists.txt tools: install local preview QML stubs 2026-05-19 09:18:46 +02:00
LockScreenTest.qml statusbar: Remove system tray 2026-02-06 19:19:02 -05:00
README.md Rename look-and-feel package to org.shift.mobile 2026-05-04 11:40:41 +02:00

Tests

Run any of the example files in this folder with qmlscene to test different components.

Be sure to have the project installed on the system.

Power Menu

To test the power menu, the following command can be used to invoke ksmserver-logout-greeter with the mobile look and feel in a window:

~/kde/usr/lib/libexec/ksmserver-logout-greeter --windowed --lookandfeel org.shift.mobile