I have MyCustomWidget in a namespace MyNameSpace
namespace MyNameSpace{
class MyCustomWidget : public QWidget{
};
}
How do I promote a QWidget to MyCustomWidget in my UI form? It doesn't seem to accept a custom namespace.
I have MyCustomWidget in a namespace MyNameSpace
namespace MyNameSpace{
class MyCustomWidget : public QWidget{
};
}
How do I promote a QWidget to MyCustomWidget in my UI form? It doesn't seem to accept a custom namespace.
Type the name of the class with the namespace included: My::PushButton
. It works. Note that:
my_pushbutton.h
. Change it if it is wrong.