Alt-click an inventory item to keep that item type out of Quick Stack.

Hold either Alt key and left-click an occupied slot in your main inventory. The first click marks the item type yellow, keeping every item of that type out of Quick Stack even if you move it to another slot. These choices are saved separately for each character.