Qt : error: declaration of 'xxx' outside of class is not definition

你在方法定义的后面都误添加上了“;”,导致编译器认为这仅仅是个声明,去掉“;”就解决了。
                            ^

猜你喜欢

转载自blog.csdn.net/wu051778/article/details/79004501