LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1110|回复: 2

qt编程中遇到的编译问题,求解,谢谢

[复制链接]
发表于 2006-7-25 20:47:51 | 显示全部楼层 |阅读模式
发行版是SUSE 10.0
qt3
开发一个窗口程序时出的错,望高手指点,谢谢

g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -W -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g  -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/lib/qt3/include -o cs.o cs.cpp
In file included from cs.cpp:5:
globle.h:3:45: warning: no newline at end of file
/usr/lib/qt3/include/qtextstream.h:70: error: expected unqualified-id before numeric constant
/usr/lib/qt3/include/qtextstream.h:70: error: expected `)' before numeric constant
/usr/lib/qt3/include/qtextstream.h:204: error: expected unqualified-id before numeric constant
/usr/lib/qt3/include/qtextstream.h:204: error: expected `)' before numeric constant
/usr/lib/qt3/include/qtextstream.h:220: error: expected unqualified-id before numeric constant
/usr/lib/qt3/include/qtextstream.h:220: error: expected `)' before numeric constant
make: *** [cs.o] 错误 1
Rob@Mylinux:~/Projects/ChatProj>
发表于 2006-7-26 12:03:09 | 显示全部楼层
把你的代码帖出来
回复 支持 反对

使用道具 举报

发表于 2006-7-30 23:06:47 | 显示全部楼层
代码放出来吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表