eddylau 兄,
想请你帮个忙啊,光盘里自带的hello程序,我在我的主机上编译通过了,然后下载到开发板上,在板子上可以看到运行结果,然后,我看了你发上来的图片,我自己用designer设计了一个一模一样的hello_base.ui,然后把其余的hello.cpp , hello.h , hell.pro, main.cpp, build文件copy 过来,重新build结果报错,如下
In file included from hello.cpp:1:
hello.h:6: error: expected class-name before '{' token
hello.h:8: error: expected `)' before '*' token
hello.cpp:4: error: 'WFlags' has not been declared
hello.cpp:4: error: prototype for 'HelloForm::HelloForm(QWidget*, const char*, int)' does not match any in class 'HelloForm'
hello.h:6: error: candidates are: HelloForm::HelloForm(const HelloForm&)
hello.h:6: error: HelloForm::HelloForm()
hello.cpp: In member function 'virtual void HelloForm::SayHello()':
hello.cpp:14: error: 'MessageLabel' was not declared in this scope
eddylau 兄,帮我看看怎么回事啊,怎么解决啊,在线等!