QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1136|回复: 1

大虾们帮看看,郁闷死了,关于QT/E Qtopia的问题

[复制链接]
发表于 2005-9-16 18:08:12 | 显示全部楼层 |阅读模式
我安装的步骤如下:
tar xfz qtopia-free-1.6.0.tar.gz
mv qtopia-free-1.6.0 qtopia
export QPEDIR=$PWD
tar xfz tmake-1.11.tar.gz
mv tmake-1.11 tmake
export TMAKEDIR=$PWD/tmake-1.11
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export PATH=$TMAKEDIR/bin:$PATH
tar xfz qt-embedded-2.3.4.tar.gz
mv qt-2.3.4 qte
export QTDIR=$PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
cp $QPEDIR/src/qt/qconfig-qpe.h src/tools/
./configure -qconfig qpe -qvfb -depths 4,8,16,32
make sub-src
cd ..
tar xfz  qt-x11-2.3.2.tar.gz
mv qt-2.3.2 qtx
cd qtx
export QTDIR=$PWD
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure -no-opengl
make
make -C tools/qvfb
mv tools/qvfb/qvfb bin
cp bin/uic $QTEDIR/bin
cd ..
cd qtopia
export QTDIR=$QTEDIR
export QPEDIR=$PWD
export PATH=$QPEDIR/bin:$PATH
cd src
./configure
make

错误:
g++  -c -I/root/Work/qtopia/include -I/root/Work/qte/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-generic-g++/ -I/root/Work/qtopia/include -o .obj/linux-generic-g++//categorywidget.o categorywidget.cpp
yacc  -p vcc backend/vcc.y
usage: yacc [OPTIONS] file
  -b prefix    Change `y' into `prefix' in all output filenames
  -d           Generate header file `y.tab.h'
  -DNAME       Define btyacc preprocessor variable NAME
  -E           Print preprocessed grammar to stdout
  -l           Do not insert #line directives into generated code
  -r           Write tables to `y.tab.c', code to `y.code.c'
  -S x.skel    Select parser skeleton
  -t           Include debugging code in generated parser
  -v           Write description of parser to `y.output'
make[1]: *** [backend/vcc_yacc.cpp] Error 1
make[1]: Leaving directory `/root/Work/qtopia/src/libraries/qtopia'
make: *** [libraries/qtopia] Error 2


怎么解决呢?谢谢
发表于 2005-9-19 23:14:23 | 显示全部楼层
这个版本也太老了吧

试试
http://www.qiliang.net/20050908.html
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 15:10 , Processed in 0.039162 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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