I've added in main function,after the Calc constructor, new procedure "connection" that connects signals with slots. The effect is the same = segfault.
Yes, there was error,but now is:And still is segfault.Qt Code:
connect(this->zeroButton, SIGNAL(clicked(bool)), this, SLOT(setVal(const int &)));To copy to clipboard, switch view to plain text mode
Bookmarks