Is there a way to write a class with namespace that utilizes the .ui file generated from the Visual Studio Integration? Everything seems fine until I try to connect a signal from the widget by the contextual menu. It prompts a warning that says
"Warning!
The project doesn't contain any class which uses this form!"

Here is a code snip
Qt Code:
  1. namespace space
  2. {
  3.  
  4. class A : public QMainWindow
  5. {
  6. Q_OBJECT
  7.  
  8. public:
  9. A(QWidget *parent = 0, Qt::WFlags flags = 0);
  10. ~A();
  11.  
  12. private:
  13. Ui::AClass ui;
  14. };
  15.  
  16. } // namespace space
To copy to clipboard, switch view to plain text mode 

The error goes away after I have removed the namespace. Is there a way to use the form in a namespace'd class?

Thanks a lot!