QT新手提问

kook 2008-06-04 10:43:23
版本: qtopia platform 4.3.0

写helloworld时碰到一个SXE的错误

代码:
#include <QtopiaApplication>
int main(int argc, char *argv[])
{
QtopiaApplication app(argc, argv);
return app.exec();
}

编译错误
ERROR: sample1 does not have the required SXE symbols.
Please see the QSXE_APP_KEY documentation for details.
Hint: Type QSXE_APP_KEY into assistants index box.
make[1]: *** [sxe_test] Error 1
make[1]: Leaving directory `/root/test/sample1'
make: *** [all] Error 2
...全文
91 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
kook 2008-09-17
  • 打赏
  • 举报
回复
已解决,谢谢各位
rzsheng 2008-06-05
  • 打赏
  • 举报
回复
Please see the QSXE_APP_KEY documentation for details.
Hint: Type QSXE_APP_KEY into assistants index box.
cceczjxy 2008-06-04
  • 打赏
  • 举报
回复
在mian()内的开始位置加上这样一行看看
QSXE_SET_APP_KEY(argv[0]);
pottichu 2008-06-04
  • 打赏
  • 举报
回复
你 还 是 研究一下环境配置好了没有吧。
cceczjxy 2008-06-04
  • 打赏
  • 举报
回复
没遇见过,帮顶
e20080520 2008-06-04
  • 打赏
  • 举报
回复
我学QT的时候没有遇到这个问题,可能是配置环境的问题,更可能是你的QT路径没有加上去:路径加在ETC/PROFILE文件下
QT解压文件中有一个README有具体路径
dxing_1983 2008-06-04
  • 打赏
  • 举报
回复
./configure -no SXE
如果没有配置的话查环境变量是否正确

23,121

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧