Install QT and SQLite in Linux and set environment variables (Ubuntu 10.04)

Source: Internet
Author: User

Go to http://qt.nokia.com/downloads/downloads download

Qt SDK for Linux/X11 32-bit ** (422 MB)

Download file as qt-sdk-linux-x86-opensource-2010.05.1.bin

After the download is complete, execute

Chmod U + x qt-sdk-linux-x86-opensource-2010.05.1.bin

Then execute the installation./qt-sdk-linux-x86-opensource-2010.05.1.bin

In home/username VI. bashrc, enter a few lines at the end of the file.

Export qtdir =/home/xinghao/QT

Export Path = $ qtdir/bin: $ path

Export manpath = $ qtdir/doc/MAN: $ manpath

Export LD_LIBRARY_PATH = $ qtdir/lib: $ LD_LIBRARY_PATH

Export qmakespec =/home/TM/QT/mkspecs/Linux-G ++ (if an error occurs during qmake Compilation: qmakespec has not been set, so configuration cannot be deduced.

Error processing project file: XXXXX. Pro add this line)



Where:
The value of qtdir is the directory where the qt-sdk-linux-x86-opensource-2010.05.1.bin is installed
/Home/username is the user folder

Compared with SQLite, it is relatively simple to directly decompress the compressed package file and compile make. Because it is a memory-type database, SQLite does not need a database driver and is very convenient to use.
Related Article

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.