zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    [Tyvj模拟赛]运
    [NOIP 2011]聪明的质监员
    暑假集训D10总结
    暑假集训D9总结
    [POI2008]枪战Maf
    [Usaco2007 Open]Fliptile 翻格子游戏
    [bzoj1592] Making the Grade
    学生信息管理系统(增删改查)【代码不完整】
    《程序员修炼之道》第五次读后感
    《程序员修炼之道》第四次读后感
  • 原文地址:https://www.cnblogs.com/daocaoren/p/6151882.html
Copyright © 2011-2022 走看看