主题 : 手把手教你开发qtopia应用程序 (通用版本) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 18834
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
贡献值: 0 点
综合积分: 6 分
注册时间: 2010-04-13
最后登录: 2010-04-30
10楼  发表于: 2010-04-19 20:11

 回 楼主(gen216ius) 的帖子

谢谢楼主,十分有用!!!
级别: 新手上路
UID: 15617
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
贡献值: 0 点
综合积分: 10 分
注册时间: 2010-03-07
最后登录: 2010-05-21
11楼  发表于: 2010-04-20 16:20
Sorry, I cannot type Chinese. The machine has no Chinese input.
I tried your way but failed, this is the error information I get.
Could you please explain? Thank you!
附件: error.txt.tar.gz (1 K) 下载次数:16
级别: 新手上路
UID: 19442
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-04-19
最后登录: 2010-09-19
12楼  发表于: 2010-04-20 20:53
最近也在研究,感觉给的hello例子中的build文件有问题似的~下载这个试试,嘿嘿~~
级别: 新手上路
UID: 20173
精华: 0
发帖: 11
金钱: 55 两
威望: 11 点
贡献值: 0 点
综合积分: 22 分
注册时间: 2010-04-27
最后登录: 2010-05-31
13楼  发表于: 2010-04-27 22:51
学习了,楼主精神值得学习!
级别: 新手上路
UID: 16543
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
贡献值: 0 点
综合积分: 26 分
注册时间: 2010-03-18
最后登录: 2011-01-09
14楼  发表于: 2010-05-06 20:46
编译可执行文件的时候出错了 麻烦帮我看看了哇 不胜感激。
描述:出错信息
附件: error.rar (397 K) 下载次数:15
级别: 新手上路
UID: 21353
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-05-15
最后登录: 2010-05-23
15楼  发表于: 2010-05-19 09:25
非常感谢,适合我这菜鸟学习!
级别: 新手上路
UID: 18146
精华: 0
发帖: 22
金钱: 110 两
威望: 22 点
贡献值: 0 点
综合积分: 44 分
注册时间: 2010-04-06
最后登录: 2017-09-13
16楼  发表于: 2010-06-08 16:37
帮了菜鸟大忙了,非常感谢。。。
级别: 新手上路
UID: 22866
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
贡献值: 0 点
综合积分: 20 分
注册时间: 2010-06-08
最后登录: 2010-08-27
17楼  发表于: 2010-06-09 13:15
请问,问什么我执行qmake,“bash:qmake:command not find”,是不是qmake需要安装下
级别: 新手上路
UID: 23659
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
贡献值: 0 点
综合积分: 58 分
注册时间: 2010-06-23
最后登录: 2012-05-02
18楼  发表于: 2010-06-25 20:59
你好,我按你前面的方法原原本本的弄下来~,但有错误~~
不知道是怎么回事,帮帮忙啊~~
build  main.cpp  Makefile  run  test.cpp  testform.ui  test.h  test.pro
[root@localhost test]# vi test.pro
[root@localhost test]# vi run
[root@localhost test]# vi run
[root@localhost test]# ./build
rm -f .obj/release-shared/moc_testform.o
rm -f .moc/release-shared/moc_testform.cpp
rm -f .ui/release-shared/testform.cpp .ui/release-shared/testform.h
rm -f .obj/release-shared/test.o .obj/release-shared/main.o .obj/release-shared/testform.o
rm -f *~ core *.core
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic testform.ui -o .ui/release-shared/testform.h
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"test\" -DQTOPIA_TRTARGET=\"test\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/test.o test.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"test\" -DQTOPIA_TRTARGET=\"test\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/main.o main.cpp
main.cpp: In function ‘QWidget* create_TestForm(QWidget*, const char*, uint)’:
main.cpp:4: 错误:expected type-specifier before ‘TestForm’
main.cpp:4: 错误:不能将‘int*’转换为‘QWidget*’,在 return 中
main.cpp:4: 错误:expected ‘;’ before ‘TestForm’
main.cpp:4: 错误:‘TestForm’在此作用域中尚未声明
make: *** [.obj/release-shared/main.o] 错误 1
级别: 新手上路
UID: 39699
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
贡献值: 0 点
综合积分: 14 分
注册时间: 2011-03-11
最后登录: 2012-08-14
19楼  发表于: 2011-04-10 12:08
嗯,试过了,有用。。。感谢