Programming history of my aerial Helicopter Control Base Station Software (3.1)-installation and configuration of qwt

Source: Internet
Author: User

Many projectsCodeIs written based on qwt-5.1.1, in fact 5.1.1 version has a lot of problems, we decided to adopt 5.2.0.

First, extract the qwt-5.2.0 to the root directory of a disk, it can also be a non-root directory, but if so, you need to modify qwtconfig under the qwt root directory. PRI file, but also modify. qwt directory in the PRO project file.

After decompression to a directory, modify the following code in the qwtconfig. PRI file:

Win32 {
Installbase = C:/Qwt-5.2.0
}

 

Here We decompress it to the root directory of drive C.

Open QT command prompt, CD to qwt-5.2.0, run

Qmake qwt. Pro

Mingw32-make

After running, a lib folder is generated under the root directory of the qwt-5.2.0, which contains libqwt5.a and qwt5.dll files.

Open QT creator, open the project, enter the projects mode, click Build Environment in build settings, add c: \ qwt-5.2.0 \ Src in path, which contains many qwt header files, if this parameter is not added, many errors cannot be found in the header files during compilation.

At this time, an error occurs during compilation, but after compilation, A qwtconfig folder is generated in the project directory, which contains a qwtconfig. PRI file. Here is some code related to qwt configuration.

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.