On Breeze SDDM theme, test mode cannot locate plasma components

Running on Plasma 6.0.1, if you do:

sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze | grep "(WW)"

It compains that library import requires a version.

If you remove the non versioned lines on /usr/share/sddm/themes/breeze/Main.qml, then it complains that plasma modules are not installed.

But if you just use Breeze on the login screen, it works. So test mode and actual SDDM behave differently.

Installing plasma-framework5 work-arounds the problem.

This creates an issue, as you cannot actually test if an SDDM theme will work for real. Hence I'm unable to port my SDDM theme to Plasma 6 at this time.

So maybe plasma-framework5 shall be an optdepend of plasma-workspace for the time being, till the upstream bug is fixed.