主题 : 求助can not connect to X server 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 9088
精华: 0
发帖: 62
金钱: 380 两
威望: 118 点
综合积分: 124 分
注册时间: 2009-09-16
最后登录: 2017-09-13
楼主  发表于: 2009-11-05 21:30

 求助can not connect to X server

我在mini2440上跑一个移植上去的基于qt的应用程序,出现如题错误can not connect to X server,请大家帮帮忙
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-11-05 21:51
看起来你移植的这个程序是基于Qt/X11的,但mini2440上默认的Qt的是Qt/Embedded
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9088
精华: 0
发帖: 62
金钱: 380 两
威望: 118 点
综合积分: 124 分
注册时间: 2009-09-16
最后登录: 2017-09-13
2楼  发表于: 2009-11-06 11:07
那请问ls,该怎么解决呢
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-11-06 11:09
你可以1)在Mini2440上移植一个Qt/X11或者2)把你的程序重新基于板子上的Qt/Embedded作移植
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9088
精华: 0
发帖: 62
金钱: 380 两
威望: 118 点
综合积分: 124 分
注册时间: 2009-09-16
最后登录: 2017-09-13
4楼  发表于: 2009-11-06 15:04
版主能不能推荐一个移植到mini2440上较容易的点对点的voip,感激不尽
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2009-11-06 15:29

 回 4楼(zhangcz) 的帖子

抱歉,我没有做过这方面的研究,帮不了你了。印象里似乎以前有人提过一个叫"KPhone"的软件,也是个基于Qt的。http://www.voip-info.org/wiki/view/KPhone
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."