Hi
I apologize if this is more of a C++ question, but I believe that it has a really simple answer.
I'm using namespaces in one of my libraries, and I have the following:
Qt Code:
namespace MyNameSpace { class MyClass { MyClass(); ~MyClass(); }; }To copy to clipboard, switch view to plain text mode
Now, whenever I call getWidget(), I get the following error message.
error: cannot convert `QWidget*' to `MyNameSpace::QWidget*' in assignment.
What am I doing wrong? I don't understand why it would think that QWidget is part of the namespace.
Thanks for any advice.
Jaco Naude
Bookmarks