I've been trying to package an application for OSX but the toolbar buttons look different depending on what I do:

If I compile using the Qt 5.1 installer I get buttons without borders (as expected) but if I either try to copy the frameworks and fix the library paths in the exe/frameworks using install_name_tool or compile 5.1 statically from the source I get borders around the buttons (see image for comparison).

Does anyone know what I could be doing wrong? Looks like I'm missing copying something to the bundle but I can't figure out what.

screen.png