A probe into the internet of things--installation and use of tools Qwtpolat
Copyright notice
This article was originally created in qter Open Source community www.qter.org ), Author lxdlbs371
IntroductionQwtpolat is an extension of qwt that is used to draw polar coordinate systems. Polar coordinate system (polar coordinates) refers to a coordinate system consisting of poles, poles and poles in a plane. Take a little o on the plane, called the pole. An X-ray Ox, called a polar axis, is started from O. Then set a unit of length, usually the angle counterclockwise direction is positive. In this way, the position of a point p in the plane can be determined by the length of the segment op and the angle θ from ox to OP, the order number pair (ρ,θ) is called the polar coordinate of P-point, recorded as P (ρ,θ), ρ is called the polar diameter of P-point, θ is called the polar angle of P-point. For positioning systems and data analysis.
Description: The following uses the MinGW version of the QT Creator and compilation environment.
This article is to undertake the Internet of things exploration step-the installation of the tool QWT a article, please read this article first.
compile the Qwtpolat. 1.1 Open the D:\qwt\MinGW\qwtpolar-1.1.1\qwtpolarconfig.pri file and modify the installation path.
1.2 Open qt 5.4 For Desktop (MinGW 4.9) Command window, enter the D:\qwt\MinGW\qwtpolar-1.1.1 directory and enter the following command.
- QMAKE
- MINGW32-MAKE
- mingw32-make Install
Copy Code
1.3 Add System environment variable: variable named: qmakefeatures, Variable value: C:\Qt\QwtPolar_gw\features.
1.4: Compile and run your own instance: Open the D:\qwt\MinGW\qwtpolar-1.1.1\examples\examples.pro file and click Run to see how the program works. You can see an Archimedes Helix and a rose line in the image.
1.5 Import the Qwtpolar Help documentation . Open the MinGW version of Qt Creator and open the menu item: Tools---options, find "help" on the left, click "Document" on the right, then click "Add" button, select the Qwtpolar-1.1.1.qch file, then OK.
1.6: If you write the Qwtpolar program, you need to add the following two statements in the project file (. Pro):
- CONFIG + = QWT
- CONFIG + = Qwtpolar
Copy Code
A probe into the internet of things--installation and use of tools Qwtpolat