zoukankan      html  css  js  c++  java
  • 交叉编译qt5.6

    按照网上的攻略编译QT5.6

    https://www.lijingquan.net/2016/07/08/build-kernel-busybox-qt5-6-tslib-imx28/

    出现问题,找不到fopen()等,在./configure时,加入-ldl选项,动态链接公共库。

    我的选项是

    ./configure -prefix /opt/qt5.6-arm -opensource -confirm-license -release -shared -xplatform linux-arm-gnueabi-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -tslib -no-opengl -no-sse2 -no-openssl -no-cups -no-glib -no-dbus -no-xcb -no-eglfs -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -no-iconv -make libs -make examples -nomake tools -nomake tests -skip qt3d -skip qtcanvas3d -skip qtdoc -skip qtwayland -I/home/mm/tools/mytslib/include -L/home/mm/tools/mytslib/lib -L/opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/arm-fsl-linux-gnueabi -ldl

    编译注意事项:

    1、编译器一定要指定好路径

    2、平台配置文件一定要正确指定好编译器和库路径

    3../configure 选项指定关键选项

  • 相关阅读:
    辞职信(转贴)
    去掉控件上显示聚焦框
    静态构造函数
    用Excel 公式求 金额的差额
    2020/2/6学习总结
    2020/2/3学习总结
    2020/2/7学习总结
    2020/1/31学习总结
    2020/2/5学习总结
    2020/2/4学习总结
  • 原文地址:https://www.cnblogs.com/llxbl/p/7105176.html
Copyright © 2011-2022 走看看