Step 3:
编译链接 arm-qte-4.7.0
1) 解压包到自己制定的目录,例如 arm-qte-4.7.0
2) 终端中运行 ./build-all
(首先,注意不能双击运行,必须在终端中运行;其次,不使用 sudo)
大约要安装2个小时
当运行到出现如下提示后:
cd src/tools/bootstrap/ && make -f Make
make[1]:
正 在 进 入 目 录
`/home/administrator/arm-qte-4.7.0/qt-everywhere-
opensource-src-4.7.0/src/tools/bootstrap'
make[1]:
没有什么可以做的为
`install'
。
make[1]:
正 在 离 开 目 录
`/home/administrator/arm-qte-4.7.0/qt-everywhere-
opensource-src-4.7.0/src/tools/bootstrap'
cd src/tools/moc/ && make -f Make
make[1]:
正 在 进 入 目 录
`/home/administrator/arm-qte-4.7.0/qt-everywhere-
opensource-src-4.7.0/src/tools/moc'
mkdir:
无法创建目录 “
/usr/local/Trolltech”:
权限不够
make[1]: *** [install_target]
错误
1
make[1]:
正 在 离 开 目 录
`/home/administrator/arm-qte-4.7.0/qt-everywhere-
opensource-src-4.7.0/src/tools/moc'
make: *** [sub-moc-install_subtargets-ordered]
错误
2
./build-all:
第
12
行
: cd: /usr/local/Trolltech/QtEmbedded-4.7.0-arm:
没有那个文件或
目录
在终端中运行:
cd qt-everywhere-opensource-src-4.7.0
sudo make install
加入环境变量(步骤类似 Step2,在最后一行再加入)
#sudo gedit ~/.bashrc
export PATH=$PATH: /usr/local/Trolltech/QtEmbedded-4.7.0-arm/bin
Step 4:
下载和安装 Qt SDK for Open Source C++ development on Linux/X11
32-bit - OBine Installer
(已经上传到我们的共享目录中)
On Linux/Unix, you need to make the in order to run it. You can
either do this with your desktop's or, at the command line, type:
在终端中运行:
chmod u+x Qt_SDK_Lin32_oBine_v1_1_2_en.run
评论0
最新资源