A probe into the internet of things--installation and use of tools Qwtplot3d

Source: Internet
Author: User

A probe into the internet of things--installation and use of tools Qwtplot3d

Copyright notice
This article was originally created in qter Open Source community www.qter.org ), Author lxdlbs371

introduction
Qwtplot3d is also an extension of qwt, used to draw three-dimensional model diagram, in the mechanical manufacturing, remote sensing mapping and model analysis and other fields of role is quite extensive.
This article is to undertake A probe into the internet of things--installation qwt of tool articles article, please read this article first.

Practice
3.1: Open the D:\qwt\MinGW\qwtplot3d\qwtplot3d.pro file and add the # include "stdio.h" header file to the Qwt3d_function.cpp file.



3.2: Add # include "Gl/glu.h" in Qwt3d_openglhelper.h

3.3: Modify the Qwtplot3d.pro file;
    1. Win32:template = Vclib
    2. Win32:template = Lib
Copy Code

3.4 After running, the Lib Library folder is generated under D:\qwt\MinGW\build-qwtplot3d-Desktop_Qt_5_4_1_MinGW_32bit-Debug. Copy the folder to the C:\Qt\ directory.

3.5 Run the self-brought instance. Because the Qwtplot3d source is relatively early, there is no support Qt5, so need to modify some files. 1) First modify the Common.pro file
  1. LIBS + = C:/qt/lib/qwtplot3d.dll
  2. # TEMPLATE = Vcapp
  3. # Qmake_lflags + =/nodefaultlib:msvcrt
Copy Code

2) Modify the D:\qwt\MinGW\qwtplot3d\examples\mesh2\src\designerworkaround.h file:



3) Run the program, the results found that the application will appear "program exception end" because the running program is missing the library file. Put the library file in the D:\qwt\MinGW\qwtplot3d\build-examples-Desktop_Qt_5_4_1_MinGW_32bit-Debug\bin directory, you can run the program properly.


The following is the program run interface, is not very shocking?







A probe into the internet of things--installation and use of tools Qwtplot3d

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.