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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.