Methods for installing tslib-1.4 and qt-embedded-linux-opensource-src-4.5.3

Source: Internet
Author: User

My development environment is VMware and fedora14.

Recently, the environment for configuring QTE needs to compile tslib and QTE. A lot of problems have been encountered in the middle, and it was finally completed after a day of preparation.

I use a tslib-1.4 and my cross-compilation tool is arm-None-Linux-gnueabi (note that this is not commonly used arm-Linux-GCC ). So the methods are different.

I will not talk about the installation method of arm-None-Linux-gnueabi.

1. Open the terminal and enter the extract directory of tslib.

2. Enter the command

1[Root @ localhost ~]#./Autogen. Sh2[Root @ localhost ~]#Echo "ac_cv_func_malloc_0_nonnull = yes"> arm-none-linux-gnueabi.cache3[Root @ localhost ~]#./Configure -- Host = arm-None-Linux-gnueabi -- cache-file = arm-none-linux-gnueabi.cache -- prefix =/tslib -- enable-inputapi = No4[Root @ localhost ~]#Make5[Root @ localhost ~]#Make install

 

Qt-embedded-linux-opensource-src-4.5.3 Installation Method
    1. Open the terminal and go to the directory qt-embedded-linux-opensource-src-4.5.3 (depending on your own decompressed directory ).
    2. Modify/Mkspecs/qws/Linux-arm-G ++/qmake. confFile.
    3. Replace all arm-Linux with arm-None-Linux-gnueabi.
    4. Enter the command
1[Root @ localhost ~]#. /Configure-prefix (where to install QTE) -Embedded ARM-release-shared-fast-no-largefile-QT-SQL-SQLite-no-qt3support-no-xmlpatterns-no-MMX-no-3dnow-no-SSE-no-sse2-no- SVG-no-WebKit-QT-zlib-QT-GIF-QT-LibTIFF-QT-libpng-QT-libmng-QT-libjpeg-make libs-nomake tools-nomake examples-nomake docs-nomake demo-no-Nis-no-cups-no-iconv-no-signature-no-OpenSSL-xplatform qws/Linux-arm-G ++-little-Endian- qt-FreeType-Depths 16, 18-QT-GFX-linuxfb-no-GFX-transformed-no-GFX-multiscreen-no-GFX-VNC-no-GFX-qvfb-QT-KBD -USB-no-glib-QT-mouse-tslib-QT-GFX-qvfb-QT-KBD-qvfb-QT-mouse-linuxtp-I /( tslib installation directory) /tslib/include-L/(tslib installation directory)/tslib/lib

 

    1. Run the make command
    1. Run the make install command.
    2. Modify user environment variables/home/user name/. bashrc and/root/. bashrc

Export armqtdir = the installation directory of your QTE, that is, the directory set above export Path = $ armqtdir/bin: $ path

Export
Manpath = $ armqtdir/MAN: $ manpath

Export
LD_LIBRARY_PATH = $ armqtdir/lib: $ LD_LIBRARY_PATH

Export qmakespec = the installation directory of your QTE, that is, the directory/mkspecs/qws/Linux-arm-G ++ set above

    1. Test arm
      Whether QT is installed and configured successfully:
      A. Execute: qmake
      -V
      Print the following information

Qmake version 2.01a

Using QT version 4.5.3 In
/Opt/QtEmbedded-4.5.3-arm/lib

B. Run: Which qmake
Print the following information:

/Opt/QtEmbedded-4.5.3-arm/bin/qmake

So far, the QTE version of arm has been compiled successfully.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.