/mnt/hgfs/hnc9/123/test_hzqx/testpaint.cpp:17: error: no ‘void testpaint::paintEvent(QPaintEvent*)’ member function declared in class ‘testpaint’void testpaint::paintEvent(QPaintEvent *event)^
这个错误的意思是,累的声明里面没有这个成员函数,但是类的实现里面却写了这个成员函数。