this worked for me. the qstaff needs to inhabit both hands showing the icon in each. A new command should be made /(d)equip hands to empty or fill both at once. If you are going to do that it would be nice to have another for /(d)equip armor. Both these commands could be used to equip sets. Two handed weapons or two weapons of the exact same type as well as a full set of enchanted or otherwise identically named armor. drifting off topic now.
seems still a bit buggy, I can only get rid of the equipped Quarterstaff by dropping it. And when I fight with the equipped quarterstaff, I gain exp. in melee.
As far as I know pole weapons as a skill type are still not implemented. The quarterstaff used to give mace and hammer practice, I think, but perhaps that changed when those became craftable.