I'm at my wit's end with this. Maybe you guys can help me out.

In my application I set my app's style sheet like so:

Qt Code:
  1. QString menu_ss = "QMenu { color: white; background-color: black; margin: 0px; }" +
  2. QString("QMenu::item:selected { color: grey; background: black; }");
  3.  
  4. qApp->setStyleSheet(menu_ss);
To copy to clipboard, switch view to plain text mode 

When I run it in release mode from Visual Studio, it looks as it should, like this:



But when I run a deployed executable, it looks like this:



Does any one have any idea what might be causing this?

I'm concatenating many style sheets together when I set my app's style sheet. I left the others out in the example for brevity's sake. However, all the others work perfectly when deployed, only QMenu does not.

I'd appreciate any help you can give.

-Daniel