using namespace with VS integration
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
Code:
namespace space
{
{
Q_OBJECT
public:
A
(QWidget *parent
= 0, Qt
::WFlags flags
= 0);
~A();
private:
Ui::AClass ui;
};
} // namespace space
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!