Ability to exclude Global Menu per app

I tried KDE_NO_GLOBAL_MENU=1, but it only works for some programs, not all
For example it works with Qt Designer and Creator, but not with Qalculate