Ubuntu QWT Qt

Source: Internet
Author: User

1, download QWT

2, unzip the directory into the QWT


3,qmake, generating a makefile file


4, compiling, make



5, install, make install, need root


After installation, there will be qwt in the/usr/local directory.

6. Import the library file directory into the environment variable


7, installation Complete when QWT control cannot be loaded in Qtcreator

Dynamic Link Library


Copy the dynamic link library to



Installing plugins in Creator




Installing plugins in the designer



Finally, in the project file, add

+=coregui
GreaterThan (, 4): +=widgetsincludepath + =/usr/local/qwt-6.1.1/include LIBS + =-L "/usr/local/qwt-6.1.1/lib/"-lqwt

1, qgl.h: #include <gl/gl.h>:gl/gl.h:No such file.

Under Qopengl I can find qgl.h, which has # include <GL/GL.H>, but we can't find the gl.h file. In fact Gl.h is the header file in the X11 library, so the workaround is to install X11:

sudo apt-get install build-essential debian-keyring Freeglut3-dev

sudo apt-get install build-essential debian-keyring Freeglut3-dev



From for notes (Wiz)

Ubuntu QWT Qt

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.