qvfb: Semop lock failure Identifier removed

to solve this problem (when running qvfb on x11),here is some info from
site:
http://www.qtforum.org/article/15411/semop-lock-failure-identifier-removed-error.html
title:

<<Semop lock failure Identifier removed error>>


I m building embedded qt application to run on QVFB(Virtual Frame Buffer).
After building the application successfully i m running the application on qvfb.

I execute $QTDIR/tools/qvfb/qvfb &
After that i execute my application ./appname -qws

But i m getting the following error.
"Semop lock failure Identifier removed "

Can u please help me ?

-------------

You should delete the file /tmp/qtembedded-rootusername/QtEmbedded-0.

It works .
I don't know how.

Is anybosy have idea about this.

Thanking you,
Sumit

---------------
QT/e checks whether the temporary directory exists, is writeable and has the permissions set right, otherwise it refuses to work...

#######################

so what i do :

[root@lyl movie]# ls /tmp/qtembedded-rootusername/QtEmbedded-0
ls: /tmp/qtembedded-rootusername/QtEmbedded-0: No such file or directory

[root@lyl movie]# ls /tmp/qtembedded-*
qtembedded-0/    qtembedded-root/
[root@lyl movie]# ls /tmp/qtembedded-root/
[root@lyl movie]# ls /tmp/qtembedded-0/QtEmbedded-0
fire.mng          main.moc          movie_rs2map.mng  movies.pro
main.cpp          main.o            movies            text
main.cpp~         Makefile          movies.doc        trolltech.gif
[root@lyl movie]# rm -f /tmp/qtembedded-0/QtEmbedded-0/*
rm: cannot remove `/tmp/qtembedded-0/QtEmbedded-0/*': Not a directory
[root@lyl movie]# rm -f /tmp/qtembedded-0/QtEmbedded-0
[root@lyl movie]# qvfb -width 240 -height 320 &
[1] 9099
[root@lyl movie]# Using display 0

[root@lyl movie]# ./movies -qws
Connected to VFB server: 240 x 320 x 32
status -1    ************here qvfb runs OK!!**************

另外,http://www.vision.ee.ethz.ch/computing/sepp-irix/qt-2.3.1-mo/install-qws.html 这里有官方的一个相关文档。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值