Hello,

I'm learning about inheritance, so I tried to derive a class from QPushButton called myButton.

Here is the header file:
#ifndef _MY_BUTTON_H_
#define _MY_BUTTON_H_
#include <QPushButton>
class myButton : public QPushButton
{
};
#endif


In my main.cpp, when I do myButton *Button1 = new myButton("Hello, World!");
it simply doesn't work. The error is:
main.cpp:11: error: no matching function for call to 'myButton::myButton(const char [14])'
mybutton.h:5: note: candidates are: myButton::myButton()
mybutton.h:5: note: myButton::myButton(const myButton&)

I included my .h file.

Any input would be appreciated!