Jetson TK1 Development Environment Build (v) compiling QT 5.5.1 qt Creator3.6.0

Source: Internet
Author: User

Because the QT Creator installation relies on the QT library, it is important to ensure that the QT5.5.1 is already installed.

1. Download the Creator3.6.0 resource file:

Qt-creator-opensource-src-3.6.0.tar.gz

Can be obtained at the following Web site:

Http://download.qt.io/official_releases/qtcreator/3.6/3.6.0/qt-creator-opensource-src-3.6.0.tar.gz

2. Extract files:

Enter the following command at the terminal:

TAR-ZXVF qt-creator-opensource-src-3.6.0.tar.gz

3. Here are a few pits to fill in:

1). Enter the following command at the terminal:

Apt-get Install botan*

2). CD to qt-creator-opensource-src-3.6.0 folder,

VI src/libs/3rdparty/botan/botan.pri file, modify the contents of the file as follows:

Includepath*= $ $PWD/.

headers+= $ $PWD/botan.h

defines+= Use_system_botan

#CONFIG + + Link_pkgconfig

#PKGCONFIG + + botan-1.10

includepath+= $$/usr/include/botan-1.10

libs+=/usr/lib/libbotan-1.10.so

Save exit.

3). Go back to the directory where you just compiled QT

That is, under the qt-everywhere-opensource-src-5.5.1 folder, CD to

QTTOOLS/SRC/DESIGNER/SRC directory, LS, look at each subdirectory, there are Lib,designer folders, respectively, CD to each subdirectory, note that the separate, each folder will be executed again.

To execute a command in a terminal: Qmake

To execute a command in a terminal: Make

Execute command in terminal: sudo make install

Note: First compile the installation Lib directory, and finally compile the installation of the designer directory, the order of the other directories appropriate adjustment, to compile the installation does not correct the error. Make sure that you compile and install each subdirectory under the QTTOOLS/SRC/DESIGNER/SRC directory.

4). Back to the Unpacked Qt Creator directory, the qt-creator-opensource-src-3.6.0 folder

To execute a command in a terminal: Qmake

To execute a command in a terminal: Make

Wait.......

execute command in terminal: sudo make install 4. Verification:

Executing in a terminal: sudo qtcreator

Start Qtcreator to view the Qtcreator version information.


Collation Reference:

http://blog.csdn.net/frd2009041510/article/details/42930113

http://blog.csdn.net/deyili/article/details/49868987

Http://elinux.org/index.php?title=Jetson/Installing_CUDA&redirect=no

Http://elinux.org/Jetson/Installing_OpenCV

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.