Same for me. I would love to use it on my Sway desktop, but never managed to make it run there.

This works for me on PopOS Cosmic (Wayland). Please lmk if my flags are incorrect.

XDG_CURRENT_DESKTOP=sway QT_QPA_PLATFORM=xcb flameshot