export XDG_SESSION_DESKTOP=KDE and then launching gimp, gives me a working gmic plugin. export QT_LOGGING_RULES="*.debug" didnt provide any more details.