Hi.

I try to customize some widget that contains in a namespace. I use the QSS. But it doesn't work.

Qt Code:
  1. class SomeWidget
  2. :public QWidget
  3. {
  4. public:
  5. class TargetToCustomize;
  6. .................................
  7. };
  8.  
  9. class SomeWidget::TargetToCustomize
  10. : public QWidget
  11. {
  12. ................................
  13. };
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. SomeWidget
  2. {
  3. background: green;
  4. }
  5.  
  6. SomeWidget-TargetToCustomize
  7. {
  8. background: red;
  9. };
To copy to clipboard, switch view to plain text mode 
it doesn't work for the TargetToCustomize widget.