• QT-4.8.6 编译配置过程


    1、编译 TSLib

    sudo apt-get install automake autogen libtool libtool-bin
    ./autogen.sh
    ./configure --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ ac_cv_func_malloc_0_nonnull=yes --prefix=/opt/tslib-1.4
    make
    sudo make install
    libtool --finish /opt/tslib-1.4/lib/ts/

    2、linux-arm-g++ qmake.conf

    #
    # qmake configuration for building with arm-linux-g++
    #

    include(../../common/linux.conf)
    include(../../common/gcc-base-unix.conf)
    include(../../common/g++-unix.conf)
    include(../../common/qws.conf)

    # modifications to g++.conf
    QMAKE_CC = arm-linux-gnueabihf-gcc -lts
    QMAKE_CXX = arm-linux-gnueabihf-g++ -lts
    QMAKE_LINK = arm-linux-gnueabihf-g++ -lts
    QMAKE_LINK_SHLIB = arm-linux-gnueabihf-g++ -lts

    # modifications to linux.conf
    QMAKE_AR = arm-linux-gnueabihf-ar cqs
    QMAKE_OBJCOPY = arm-linux-gnueabihf-objcopy
    QMAKE_STRIP = arm-linux-gnueabihf-strip

    load(qt_config)

    3、编译 qt-4.8.6
    ./configure --prefix=/opt/qt-4.8.6/arm -opensource -release -shared -fast -exceptions -little-endian -xmlpatterns -iconv -svg -webkit -armfpa -Declarative -DQT_QLOCALE_USES_FCVT -DQT_NO_QWS_CURSOR -qt-sql-sqlite -qt3support -qt-freetype -qt-zlib -qt-libtiff -qt-libpng -qt-libjpeg -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-multiscreen -qt-kbd-linuxinput -qt-mouse-linuxtp -qt-mouse-tslib -no-largefile -no-glib -no-phonon -no-mmx -no-3dnow -no-sse -no-sse2 -no-nis -no-cups -no-dbus -no-gfx-vnc -no-gfx-qvfb -no-kbd-qvfb  -no-mouse-qvfb -no-pch -xplatform qws/linux-arm-g++ -embedded armv7 -depths 16,24,32 -make libs -make tools -make examples -make demos -make translations -make docs -I/opt/tslib-1.4/include -L/opt/tslib-1.4/lib -confirm-license

  • 相关阅读:
    bootstrap学习笔记之基础导航条 http://www.imooc.com/code/3111
    bootstrap学习笔记之导航条基础
    Bootstrap学习笔记之文本对齐风格
    leetcode------Find Peak Element
    leetcode------Search a 2D Matrix
    leetcode------Set Matrix Zeroes
    【python】enumerate函数
    leetcode------Gray Code
    leetcode------Letter Combinations of a Phone Number
    leetcode------Best Time to Buy and Sell Stock II
  • 原文地址:https://www.cnblogs.com/daocaoren/p/6151882.html
Copyright © 2020-2023  润新知