我在用mini6410开发板移植qtiopia的时候是可以的。里面的例子我也试过了。可以在开发板运行,可是我自己搞了个程序,照板子上带着的资料进行移植。为什么会报错?什么原因请各位帮我分析下。我连续搞了好几个qt,都是这样?怎么回事,急~~~~~~~~~~
错误如下
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"helloworld\" -DQTOPIA_TRTARGET=\"helloworld\" -DQT_NO_DEBUG -I/opt/mini6410/qtopia-free-2.2.0/qtopia/mkspecs/qws/linux-arm-g++ -I. -I/opt/mini6410/qtopia-free-2.2.0/qtopia/include -I/opt/mini6410/qtopia-free-2.2.0/qt2/include -I.ui/release-shared/ -I.moc/release-shared/ -o .obj/release-shared/helloworld.o helloworld.cpp
helloworld.cpp:3: error: no 'void Form1::pushButton1_clicked()' member function declared in class 'Form1'
make: *** [.obj/release-shared/helloworld.o] Error 1
头文件我已经在程序中包含了。还是现实未定义。