标题:版主们能否整理一下qtopia-core-opensource-src-4.2.2.tar.gz的安装方发呢?
作者:shenjinqi
日期:2007-01-17 15:01
内容:
如题,
假设系统中没有安装qt-x11,那么怎样一步一步的安装qtopia-core-opensource-src-4.2.2.tar.gz呢,支持qvfb?
我按照解压后的install文档自己弄了好几天了,总是有问题,主要问题是,安装了之后运行designer时出现一下错误:
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
No Qtopia Core server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
按照我的理解designer因该是能在直接运行的,qtopia-core中的应用程序才需要在qvfb中运行阿?
看了看置顶的一些帖子,还是有点不明白,希望版主们能够整理一下?
#1 [shenjinqi 01-17 16:28]
刚才我又试着安装了一下,过程如下:
1.设置环境变量:(qt-x11为qt-x11-opensource4.2.2的安装路径)
export QTDIR=/home/shenjinqi/qt-4.2.2/qt-x11
export PATH=/home/shenjinqi/qt-4.2.2/qt-x11/bin:$PATH
export LD_LIBRARY_PATH=/home/shenjinqi/qt-4.2.2/qt-x11/lib
2.配置
./configure -prefix /home/shenjinqi/qt-4.2.2/qt -release -qconfig full -depths 4,16,24,32 -system-libjpeg -system-libpng -system-zlib -qvfb -embedded x86
3.gmake
4.gmake install
这样安装完后,直接运行designer还是和上面的情况一样,
但是如果先打开qvfb
执行./designer -qws
则designer就会在出现在qvfb中?qtdemo也能够在qvfb中运行。
不知道现在这样是对是错?designer因该是能在直接运行的啊 ?
#2 [fengshenx 01-22 15:37]
designer用x11版编译。