• 39970阅读
  • 18回复

Qtopia PDA 2.2.0(GPL)和Qtopia Phone 2.2.0安装方法 [复制链接]

上一主题 下一主题
离线cavendish
 

只看楼主 正序阅读 楼主  发表于: 2006-03-21
离线l0p0c

只看该作者 18楼 发表于: 2010-03-29
我在Fedora11下面弄了许久都没有弄出来。。。
现在改用qt4了
嵌入式Linux系统、QT开发,请联系QQ:224615770。
离线mdyqq
只看该作者 17楼 发表于: 2010-03-19
Qtopia-2.2.0的INSTALL的英文版本  

            
  INSTALLING Qt FOR X11


You may need to be root, depending on the permissions of the directories
where you choose to install Qt.


1.  Unpack the archive if you have not done so already:

    cd /usr/local
    gunzip qt-x11-2.2.0.tar.gz    # uncompress the archive
    tar xf qt-x11-2.2.0.tar    # unpack it

    This creates the directory /usr/local/qt-2.2.0 containing the
    files from the main archive.

    Rename qt-2.2.0 to qt (or make a symlink):

    mv qt-2.2.0 qt

    The rest of this file assumes that Qt is installed in /usr/local/qt.


2.  Set some environment variables in the file .profile (or .login,
    depending on your shell) in your home directory. (Create the
    file if it is not there already.)

    QTDIR           - wherever you installed Qt
    PATH           - to locate the moc program and other Qt tools
    MANPATH        - to access the Qt man pages
    LD_LIBRARY_PATH       - for the shared Qt library

    This is done like this:

    In .profile (if your shell is bash, ksh, zsh or sh), add the
    following lines:

    QTDIR=/usr/local/qt
    PATH=$QTDIR/bin:$PATH
    MANPATH=$QTDIR/man:$MANPATH
    LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

    export QTDIR PATH MANPATH LD_LIBRARY_PATH

    In .login (in case your shell is csh or tcsh), add the following lines:

    setenv QTDIR /usr/local/qt
    setenv PATH $QTDIR/bin:$PATH
    setenv MANPATH $QTDIR/man:$MANPATH
    setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH

    After you have done this, you will need to login again, or
    re-source the profile before continuing, so that at least $QTDIR
    is set.  The installation will give an error message and not
    proceed otherwise.


3.  Install your license file.  For the free edition, you do not need
    a license file.  For Professional and Enterprise editions, install
    your license file as described in your distribution.


4.  Building.

    This step compiles the Qt library, and builds the example programs,
    the tutorial, and the tools (eg. the Designer).

    Type:

    ./configure

    This will configure the Qt library for your machine. Note that
    GIF support is turned off by default. Run ./configure -help
    to get a list of configuration options. Read PLATFORMS for a
    list of supported platforms.

    To create the library and compile all examples and the tutorial:

    make

    If your platform or compiler is not supported, read PORTING.  If it is
    supported but you have problems, see http://www.trolltech.com/platforms/


5.  In very few cases you may need to run /sbin/ldconfig or something
    similar at this point if you are using shared libraries.

    If you have problems running the example programs, e.g. messages like

     can't load library 'libqt.so.2'

    you probably need to put a reference to the qt library in a
    configuration file and run /sbin/ldconfig as root on your system.
    And don't forget to set LD_LIBRARY_PATH as explained in 2) above.


6.  The online HTML documentation is installed in /usr/local/qt/doc/html/
    The main page is /usr/local/qt/doc/html/index.html
    The man pages are installed in /usr/local/qt/doc/man/



That's all.  Qt is now installed.
离线mdyqq
只看该作者 16楼 发表于: 2010-03-19
我也看不了 一点就是域名纠错
离线denton
只看该作者 15楼 发表于: 2009-08-09
引用第12楼hua186078于2008-04-29 16:46发表的  :
搂主:我按照你说的做,结果跟airy1727说的差不多,只是我的是出现/usr/bin/ld: cannot find -luuid,我是用Rehat9.0的完全安装,gcc版本是3.2.2。不知是否跟gcc版本有关。

编译需要libuuid的开发包, Ubuntu下可用sudo apt-get install uuid-dev来安装
离线l0p0c

只看该作者 14楼 发表于: 2009-07-08
这个简直太难弄了
嵌入式Linux系统、QT开发,请联系QQ:224615770。
离线edgepoly
只看该作者 13楼 发表于: 2009-06-19
打不开啊
离线hua186078

只看该作者 12楼 发表于: 2008-04-29
搂主:我按照你说的做,结果跟airy1727说的差不多,只是我的是出现/usr/bin/ld: cannot find -luuid,我是用Rehat9.0的完全安装,gcc版本是3.2.2。不知是否跟gcc版本有关。
离线hanmetor

只看该作者 11楼 发表于: 2006-09-07
引用第5楼cavendish2006-05-29 12:14发表的“”:
lijasmine,
我写的是2.2.0的文档,你用的版本好像是2.1.1呀



我用的是:2.2.0 也出现了这个错.............


******** Build Qtopia ************
***********************************
QPE_CFG="-edition pda -displaysize 240x320 -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-generic-g++'"

The following configuration values have been guessed or autodetected:
  -arch generic
  -fontfamilies helvetica fixed micro smallsmooth smoothtimes
  -fontsizes all
  -fontstyles 50 50i 75 75i
  -languages en_US
  -qvfb

Symlinking header files to include directory
Creating qmake...No makedepend available
make[1]: Entering directory `/home/lhy/QT/qtopia-free-2.2.0/qtopia/qmake'
.............make[1]: *** [qstring.o] Error 1
make[1]: Leaving directory `/home/lhy/QT/qtopia-free-2.2.0/qtopia/qmake'
Failed to make qmake

***********************************************************************
*
*             ERROR: Building Qtopia has failed.
*
* Please search the make output for any error messages.
*
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*
* For more information about the build process please use a browser
* and go to the getting started section in:
*   /home/lhy/QT/qtopia-free-2.2.0/qtopia/doc/html/index.html
*
***********************************************************************
[root@MX21-Samba qtopia-free-2.2.0]#
aaaaaaaaaaaaaaaaaaaaaaaa
离线蓝色枫
只看该作者 10楼 发表于: 2006-07-21
版主,我按照你的方法编译,但是到了 make完的时候,出现下面的ERROR,我把图贴上来了,请帮帮我噢,我用的redhat9


编译
代码:

QUOTE:
tar zxvf qtopia-free-src-2.2.0.tar.gz
cd qtopia-free-2.2.0
export PATH=$PWD/tmake/bin:$PATH

echo "yes"|./configure -qte no-keypad -qpe pda
make
make install
离线airy1727

只看该作者 9楼 发表于: 2006-06-16
我是在RedHat9.0下面安装Qtopia PDA 2.2.0的,但是最后老是提示:
/usr/bin/ld: cannot find -lqte.
我在./qt2/lib下边有编译产生的libqte.so.2; libqte.so.2.3.12等文件,不过都是ln -s过的,我不能将这些文件拷贝到./qtopia/lib下,提示是没有文件,但是我可以看到红色的连接,是不是我这些文件本来就没有编译出来.
kernel/qclipboard.okernel/qclipboard.o(.text+0x10c): In function `QClipboard::text(QCString&) const':
: multiple definition of `QClipboard::text(QCString&) const'
kernel/qclipboard_qws.o(.text+0x17c): first defined here
/usr/bin/ld: Warning: size of symbol `QClipboard::text(QCString&) const' changed f
rom 190 to 140 in kernel/qclipboard.o
kernel/qclipboard.o(.text+0x198): In function `QClipboard::text() const':
: multiple definition of `QClipboard::text() const'
kernel/qclipboard_qws.o(.text+0x150): first defined here
/usr/bin/ld: Warning: size of symbol `QClipboard::text() const' changed from 25 to
123 in kernel/qclipboard.o
kernel/qclipboard.o(.text+0x214): In function `QClipboard::setText(QString const&)
':
: multiple definition of `QClipboard::setText(QString const&)'
kernel/qclipboard_qws.o(.text+0x16c): first defined here
/usr/bin/ld: Warning: size of symbol `QClipboard::setText(QString const&)' changed
from 15 to 137 in kernel/qclipboard.o
collect2: ld returned 1 exit status
make[1]: Leaving directory `/xxx/qtopia-free-2.2.0/qt2/src'
[ 此贴被airy1727在2006-06-16 11:42重新编辑 ]
离线XChinux

只看该作者 8楼 发表于: 2006-06-15
make install 一般来说是安装的意思
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线tokens

只看该作者 7楼 发表于: 2006-06-15
make 和 make install
有什么不同???make不就是编译吗?
头大,在学QT
离线jameschen
只看该作者 6楼 发表于: 2006-06-01
make fail: 不能生成MAKEFILE文件,错误如下:
Creating makefiles...
sort: sort.c:701:inittables_mb: 断言“mblength != (size_t)-1 && mblength != (size_t)-2”失败。
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]: Entering directory `/Work/qtopia/qtopia-free-2.2.0/qt2/src'
make[1]: *** 没有指明目标并且找不到 makefile。 停止。
make[1]: Leaving directory `/Work/qtopia/qtopia-free-2.2.0/qt2/src'

***********************************************************************


我用的系统是Fedroa core 4
离线cavendish

只看该作者 5楼 发表于: 2006-05-29
lijasmine,

我写的是2.2.0的文档,你用的版本好像是2.1.1呀
离线shiroki

只看该作者 4楼 发表于: 2006-05-24
echo "yes"|./configure -qte no-keypad -qpe pda
这个选项是挺奇怪的, 好像应该是 -edition pda吧

你运行configure --help就能看到所有的选项了
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线lijasmine
只看该作者 3楼 发表于: 2006-05-18
版主在上面提到:
tar zxvf qtopia-free-src-2.2.0.tar.gz
cd qtopia-free-2.2.0
export PATH=$PWD/tmake/bin:$PATH

echo "yes"|./configure -qte no-keypad -qpe pda
make
make install

我成功安装qt-x11-2.3.2、tmake-1.13和qt-embedded2.3.10后按照上面的步骤编译qtopia-free-2.1.1
在这一步echo "yes"|./configure -qte no-keypad -qpe pda
Unknown option: qpe
在qtopia-free-2.1.1/lib/目录下也没有libqpe.so啊!
我输入:
echo "yes"|./configure -l /home/zhaoxiao/dev/qt-2.3.10/lib/libqte.so.2.3.10 no-keypad -l/home/zhaoxiao/dev/qtopia-free-2.1.1/lib/qpe pda
输出为:
The following configuration values have been guessed or autodetected:
  -arch generic
  -displaysize 240-320
  -edition pda
  -languages en_US
  -platform linux-g++
  -qvfb
  -xplatform linux-generic-g++

Symlinking header files to include directory
Creating qmake....
Creating pngscale.....make: *** [../../bin/pngscale] Error 1
Failed to make qmake
离线cavendish

只看该作者 2楼 发表于: 2006-03-21
麻烦站长再试试
下午重启过
route有点问题
现在应该好了
离线XChinux

只看该作者 1楼 发表于: 2006-03-21
怪了,我打不开qtopia.org.cn,难道是我的Windows系统出了什么问题??
我转一下:
Qtopia PDA 2.2.0(GPL)安装指南

下载
ftp://ftp.trolltech.com/qtopia/source/qtopia-free-src-2.2.0.tar.gz
ftp://ftp.qtopia.org.cn/mirror/ftp.trolltech.com/qtopia/source/qtopia-free-src-2.2.0.tar.gz
http://www.qtopia.org.cn/ftp/mirror/ftp.trolltech.com/qtopia/source/qtopia-free-src-2.2.0.tar.gz

Host(x86)

编译
代码:
tar zxvf qtopia-free-src-2.2.0.tar.gz
cd qtopia-free-2.2.0
export PATH=$PWD/tmake/bin:$PATH
echo "yes"|./configure -qte no-keypad -qpe pda
make
make install



运行
代码:
cd qtopia-free-2.2.0/qtopia/image/opt/Qtopia
mkdir demohome
cd ../../../bin
./startdemo -home qtopia/image/opt/Qtopia/demohome -sound system



Qtopia Phone 2.2.0安装指南

下载
Qtopia Phone 2.2.0需要有合法的帐号和密码,然后可以在trolltech的用户空间中下载。源码包为qtopia-phone-src-2.2.0.tar.gz。

Host(x86)

编译
代码:
tar zxvf qtopia-phone-src-2.2.0.tar.gz
cd qtopia-phone-2.2.0
export PATH=$PWD/tmake/bin:$PATH

echo "yes"|./configure -qte "-embedded -keypad-mode -system-jpeg -depths 16,24,32 -qconfig qpe -qvfb -no-xft" -qpe "-edition phone -no-qtopiadesktop -displaysize 240x320 -defaultbuttons phone"
make
make install


运行
代码:
cd qtopia-phone-2.2.0/qtopia/image/opt/Qtopia
mkdir demohome
cd ../../../bin
./startdemo -home qtopia/image/opt/Qtopia/demohome -sound system
[ 此贴被XChinux在2006-03-21 18:51重新编辑 ]
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
快速回复
限100 字节
 
上一个 下一个