- 积分
- 7
贡献20
飞刀0 FD
注册时间2015-4-25
在线时间2 小时

扫一扫,手机访问本帖 
|
系统 : ubuntu 12.04
交叉编译器版本 : 4.3.2
make: *** No rule to make target `clear'. Stop.
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=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG -I/root/yizhi/qtopia-free-2.2.0/qtopia/mkspecs/qws/linux-arm-g++ -I. -I../../yizhi/qtopia-free-2.2.0/qtopia/include -I../../yizhi/qtopia-free-2.2.0/qt2/include -I.ui/release-shared/ -I.moc/release-shared/ -o .obj/release-shared/main.o main.cpp
main.cpp: In function 'QWidget* create_THelloForm(QWidget*, const char*, uint)':
main.cpp:3: error: expected type-specifier before 'THelloForm'
main.cpp:3: error: cannot convert 'int*' to 'QWidget*' in return
main.cpp:3: error: expected ';' before 'THelloForm'
main.cpp:3: error: 'THelloForm' was not declared in this scope
make: *** [.obj/release-shared/main.o] Error 1
// 以下附上 代码
//--------------------------------------------------------------------
//main.cpp
//--------------------------------------------------------------------
#include “hello.h”
#include <qtopia/qpeapplication.h>
QTOPIA_ADD_APPLICATION(“hello”,THelloForm)
QTOPIA_MAIN
//--------------------------------------------------------------------
希望广大的朋友们帮帮忙,谢谢! |
|