linux下安装qt-4.5_for_TQ210_V1.0.(TQ210)-ubuntu11.10过程出现的问题
2013-07-10 22:28
435 查看
提示一:g++ 命令未找到
解决:apt-get install g++
提示二:gmake命令未找到
解决:把arm_qt4.5_build里面的gmake修改为make。
arm_qt4.5_build内容理解(菜鸟理解,如有不当望不吝指出)
1、红色内容表示我们make install后在此路径下生成文件。
2、绿色部分为我们编译QT时选择哪些需要编译、哪些不需要编译。
3、蓝色部分为选择触摸库的路径。
#!/bin/sh
if [ -d build/build_arm ] ; then
echo "the build_arm directory is already !"
else
mkdir -p build/build_arm
fi
if [ -d __install/arm ] ; then
echo "the __install/arm directory is already !"
else
mkdir -p __install/arm
fi
cd build/build_arm/
if [ -f Makefile ] ; then
echo "the Makefile is already !"
else
echo "Config Qt4.5 now, please wait ..."
echo yes | ../../qt-embedded-linux-opensource-src-4.5.0/configure -prefix /opt/tools/qt-4.5/__install/arm/ -release -shared -fast -no-largefile -qt-sql-sqlite
-qt3support -no-xmlpatterns -no-glib -no-phonon -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -webkit -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libjpeg -make libs -nomake examples -nomake docs -nomake demo -no-nis -no-cups -iconv -no-dbus -openssl -xplatform
qws/linux-arm-g++ -embedded arm -little-endian -qt-freetype -depths 16,24,32 -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -armfpa -no-mouse-qvfb -qt-mouse-linuxtp -qt-mouse-tslib -DQT_QLOCALE_USES_FCVT
-I/tslib-1.4/include -L/tslib-1.4/libc &&
echo "Finished config Qt4.5 !"
fi
if [ -f lib/libQtCore.so.4.5.0 ] ; then
echo "Qt4.5 library build complete !"
else
echo "Build Qt4.5 library now, please wait ..."
make -j2 &&
echo "Finished build Qt4.5 !"
fi
if [ -f ../../__install/arm/lib/libQtCore.so.4.5.0 ] ; then
echo "Qt4.5 library install in __install/arm/ !"
else
echo "Install Qt4.5 library now, please wait ..."
make install &&
echo "Finished install Qt4.5 !"
fi
cd ../../
解决:apt-get install g++
提示二:gmake命令未找到
解决:把arm_qt4.5_build里面的gmake修改为make。
arm_qt4.5_build内容理解(菜鸟理解,如有不当望不吝指出)
1、红色内容表示我们make install后在此路径下生成文件。
2、绿色部分为我们编译QT时选择哪些需要编译、哪些不需要编译。
3、蓝色部分为选择触摸库的路径。
#!/bin/sh
if [ -d build/build_arm ] ; then
echo "the build_arm directory is already !"
else
mkdir -p build/build_arm
fi
if [ -d __install/arm ] ; then
echo "the __install/arm directory is already !"
else
mkdir -p __install/arm
fi
cd build/build_arm/
if [ -f Makefile ] ; then
echo "the Makefile is already !"
else
echo "Config Qt4.5 now, please wait ..."
echo yes | ../../qt-embedded-linux-opensource-src-4.5.0/configure -prefix /opt/tools/qt-4.5/__install/arm/ -release -shared -fast -no-largefile -qt-sql-sqlite
-qt3support -no-xmlpatterns -no-glib -no-phonon -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -webkit -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libjpeg -make libs -nomake examples -nomake docs -nomake demo -no-nis -no-cups -iconv -no-dbus -openssl -xplatform
qws/linux-arm-g++ -embedded arm -little-endian -qt-freetype -depths 16,24,32 -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -armfpa -no-mouse-qvfb -qt-mouse-linuxtp -qt-mouse-tslib -DQT_QLOCALE_USES_FCVT
-I/tslib-1.4/include -L/tslib-1.4/libc &&
echo "Finished config Qt4.5 !"
fi
if [ -f lib/libQtCore.so.4.5.0 ] ; then
echo "Qt4.5 library build complete !"
else
echo "Build Qt4.5 library now, please wait ..."
make -j2 &&
echo "Finished build Qt4.5 !"
fi
if [ -f ../../__install/arm/lib/libQtCore.so.4.5.0 ] ; then
echo "Qt4.5 library install in __install/arm/ !"
else
echo "Install Qt4.5 library now, please wait ..."
make install &&
echo "Finished install Qt4.5 !"
fi
cd ../../
相关文章推荐
- linux下安装qt-4.5_for_TQ210_V1.0.(TQ210)-ubuntu11.10过程出现的问题
- 安装WPS for Linux archlinux中文字体渲染出现问题
- 安装WPS for Linux Alpha 6后Ubuntu字体渲染出现问题的解决方案
- Qt5.6.2安装过程中出现的问题
- Matlab for Linux的安装笔记和启动过程中的问题解决
- Linux下安装MyEclipse和Tomcat服务器详解,以及我安装过程中所出现的问题以及解决办法,并实现一个web小程序
- 解决Linux下Qt编译出现"cannot find -lGL"以及无法安装libgl1-mesa-dev的问题
- Qtopia Core 4.3(QT/E)交叉编译安装全过程--出现无法找到头文件zlib.h问题
- Mysql在Linux下安装和使用过程中出现的问题及解决方案
- linux 下安装MySQL出现问题 Access denied for user ''@'localhost' to database 'mysql'
- 解决Linux下Qt编译出现"cannot find -lGL"以及无法安装libgl1-mesa-dev的问题
- VirtualBox虚拟机安装Linux redhat 5.4 64位版本的过程中出现的问题及解决方法
- linux 安装RAC 过程出现的问题
- Oracle安装过程出现问题
- Android SDK更新过程中出现connection refused 或者 error问题(Windows 和Ubuntu安装过程中的问题)
- MIC编译器icc(Intel Cluster Studio XE for Linux)的安装过程
- Android Studio安装过程中出现一些问题的解决方法(都已解决)
- 在Ubuntu 8.10下安装QQ for Linux的过程
- 安装ADT过程出现问题
- linux安装和配置 mysql、redis 过程中遇到的问题记录(转)